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

#TimeUsernameProblemLanguageResultExecution timeMemory
312909zwliewMemory (IOI10_memory)C++17
100 / 100
2 ms416 KiB
#include "memory.h" #include "grader.h" void play() { int a[25], b[25]; for (int i = 0; i < 25; ++i) { a[i] = 0; b[i] = 0; } for (int i = 1; i <= 50; ++i) { int x = faceup(i); x -= 'A'; if (a[x]) { b[x] = i; } else { a[x] = i; } } for (int i = 0; i < 25; ++i) { faceup(a[i]); faceup(b[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...