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

#TimeUsernameProblemLanguageResultExecution timeMemory
412193rainboyMemory (IOI10_memory)C11
100 / 100
3 ms328 KiB
#include "grader.h" #include "memory.h" #define N 25 void play() { static int ii[N], jj[N]; int i; for (i = 0; i < N; i++) { int a = faceup(i * 2 + 1) - 'A', b = faceup(i * 2 + 2) - 'A'; if (!ii[a]) ii[a] = i * 2 + 1; else jj[a] = i * 2 + 1; if (!ii[b]) ii[b] = i * 2 + 2; else jj[b] = i * 2 + 2; } for (i = 0; i < N; i++) faceup(ii[i]), faceup(jj[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...