CCC '21 S2 - Modern Art
Submit solution
C++, Python
Points:
1
Time limit:
3.0s
Memory limit:
1G
Problem types
Allowed languages
Sample Input 2
4
5
7
R 3
C 1
C 2
R 2
R 2
C 1
R 4Output for Sample Input 2
10Explanation of Output for Sample Input 2
Ten cells are gold in the final pattern determined by the artist's choices:
BGBBB
BGBBB
GBGGG
GBGGG
Comments