제출 #372547

#제출 시각아이디문제언어결과실행 시간메모리
372547AlexRex0Memory (IOI10_memory)C++14
0 / 100
1 ms256 KiB
#include "grader.h" #include "memory.h" void play() { int cubeta[2][52]; bool encontre[52]; for(int i = 1; i <= 50; ++i){ encontre[i] = false; } for(int i = 1; i <= 50; ++i){ char aux = faceup(i); int pos = aux - 65 + 1; if(!encontre[pos]){ cubeta[0][pos] = i; encontre[i] = true; }else{ cubeta[1][pos] = i; } } for(int i = 1; i <= 50; ++i){ faceup(cubeta[0][i]); faceup(cubeta[1][i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...