(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

Submission #542122

#TimeUsernameProblemLanguageResultExecution timeMemory
542122inventiontimeMemory (IOI10_memory)C++17
100 / 100
2 ms280 KiB
#include "grader.h" #include "memory.h" void play() { int pos[100] = {}; for(int i = 1; i <= 50; i++) { int r = faceup(i); if(pos[r] == 0) pos[r] = i, faceup(i%50+1); else faceup(pos[r]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...