Login
Register
QOJ.ac
QOJ
QOJ
Contests
Category
Problems
Submissions
Hack!
QOJ will undergo maintenance on July 5th from 02:00 to 04:00 (UTC +8). The service may be unavailable during this time.
Time Limit: 4 s
Memory Limit: 2048 MB
Interactive
NWERC 2020
D. Dragon Balls
Statistics
Statement
Submit
Editorial
Back to the contest
Submit