Open utterances-bot opened 3 years ago
https://luyencode.net/problem/HOUSE
Gợi ý: Với N tòa nhà liên tiếp được sơn màu giống nhau thì chỉ cần sơn lại N/2 tòa nhà là thỏa mãn điều kiện
Tham khao: https://luyencode.net/status/ebb0a836e5359868aa4fab371967091c?problem=HOUSE
Code C++ đã AC: https://ideone.com/PmD14q
với n tòa nhà giống nhau sẽ cần sơn n/2
Chi tiết bài tập - Luyện Code Online
https://luyencode.net/problem/HOUSE