Submission #372565

#TimeUsernameProblemLanguageResultExecution timeMemory
372565Christopher_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[a - 64] == 0){ cubeta[a - 64] = pos; }else{ cubeta2[a - 64] = pos; } pos++; b = faceup(pos); if (cubeta[b - 64] == 0){ cubeta[b - 64] = pos; }else{ cubeta2[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...