QOJ.ac

QOJ

Time Limit: 2.0 s Memory Limit: 1024 MB Total points: 100 Interactive

#14697. Crimson Sexy Jalapeños

Statistics

Note: The correct bounds for $R$ and $C$ is $10^5$.