제출 #372564

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