Codeforces Round 507 (Div. 2, based on Olympiad of Metropolises)
1 problems from Codeforces Round 507 (Div. 2, based on Olympiad of Metropolises) (contest 1040), difficulty 1000-1000. 0/1 solutions verified against sample I/O.
Codeforces Round 507 (Div. 2, based on Olympiad of Metropolises)
Div. 2 | 1 problems | 0/1 verified | Difficulty 1000-1000 | 2m 28s
| # | Problem | Rating | Tags | Accepted | Time | ✓ |
|---|---|---|---|---|---|---|
| A | Palindrome Dance | 1000 | greedy | 10,200 | 2m 28s |
Practice
›
Codeforces Solutions
›
Codeforces Round 507 (Div. 2, based on Olympiad of Metropolises)
›
CF 1040A - Palindrome Dance
We are given a line of dancers, each occupying a fixed position. Every dancer must end up wearing either a white suit or a black suit, and some of these suits are already fixed while others are undecided.