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...