Extra spaces in your output may lead to "Wrong Answer".
QOJ.ac
QOJ
Time Limit:
6.0 s
Memory Limit:
1024 MB
Hackable ✓
# 7010. Rikka with A Long Colour Palette
Statistics
The problem was used in the following contest:
This problem is prepared by
clrs97 .