Note that the official tests contain 10 separate subtasks.
QOJ.ac
QOJ
Time Limit:
1 s
Memory Limit:
256 MB
Total points:
100
# 1412. JOI Poster
Statistics
The problem was used in the following contest:
Note that the official tests contain 10 separate subtasks.