제출 #372552

#제출 시각아이디문제언어결과실행 시간메모리
372552Christopher_RdzMemory (IOI10_memory)C++14
0 / 100
2 ms256 KiB
#include "grader.h" #include "memory.h" int cubeta[102]; int cubeta2[102]; void play() { char a, b; for (int i = 1; i <= 50; i++){ a = faceup(i); if (cubeta[int(a)] == 0){ cubeta[int(a)] = i; }else{ cubeta2[int(a)] = i; } b = faceup(i+1); if (cubeta[int(b)] == 0){ cubeta[int(b)] = i; }else{ cubeta2[int(b)] = i; } } for (int i = 65; i <= 89; i++){ faceup(cubeta[i]); faceup(cubeta2[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...