(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 #201903

#TimeUsernameProblemLanguageResultExecution timeMemory
201903Leonardo_PaesMemory (IOI10_memory)C++17
100 / 100
8 ms504 KiB
#include "vector" #include "grader.h" #include "memory.h" void play() { std::vector<int> p[25]; int i=1, j=50, a; while(i<j){ a = faceup(i) - 'A'; p[a].push_back(i); a = faceup(j) - 'A'; p[a].push_back(j); i++, j--; } for(i=0; i<25; i++){ faceup(p[i][0]); faceup(p[i][1]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...