La fiesta de Briares

Points 100 Memory limit 32 MiB
Time limit (case) 500ms Time limit (total) 1m0s
Input size limit (bytes) 10 KiB

Source: .
Best accepted solvers
User Language Memory Runtime Submitted
Clarification
Contest Author Submitted Message Answer

								
Language
Filename your code will be saved as: Main