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

제출 #199316

#제출 시각아이디문제언어결과실행 시간메모리
199316mythosMemory (IOI10_memory)C++14
100 / 100
9 ms504 KiB
#include "grader.h" #include "memory.h" void play() { int fst[110] = {}, snd[110] = {}; for (int i = 1; i <= 50; i += 2) { int c1 = faceup(i); int c2 = faceup(i + 1); if (fst[c1]) snd[c1] = i; else fst[c1] = i; if (fst[c2]) snd[c2] = i + 1; else fst[c2] = i + 1; } for (int c = 'A'; c <= 'Y'; c++) { faceup(fst[c]); faceup(snd[c]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...