QOJ.ac

QOJ

Time Limit: 10 s Memory Limit: 512 MB
Statistics

Attention: The time limit was revised to 10.0 seconds.

The size of the input file does not exceed 30.0 MiB.