Submission #232900

#TimeUsernameProblemLanguageResultExecution timeMemory
232900ZexMemory (IOI10_memory)C++11
0 / 100
5 ms256 KiB
#include "grader.h" #include "memory.h" void play() { int IDX1[25] = {}; int IDX2[25] = {}; for(int i=1;i<=50;i++){ char ch = faceup(i); int x = ch - 'A'; if( !IDX1[x] ) IDX1[x] = i; else IDX2[x] = i; } for(int i=0;i<26;i++){ faceup( IDX1[i] ); faceup( IDX2[i] ); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...