Submission #683635

#TimeUsernameProblemLanguageResultExecution timeMemory
683635Hacv16Memory (IOI10_memory)C++17
100 / 100
2 ms284 KiB
#include <bits/stdc++.h> #include "grader.h" #include "memory.h" using namespace std; int pos1[30], pos2[30]; void play(){ for(int i = 1; i <= 50; i++){ char c = faceup(i); if(pos1[c - 'A'] == 0) pos1[c - 'A'] = i; else pos2[c - 'A'] = i; } for(int i = 0; i < 25; i++){ faceup(pos1[i]); faceup(pos2[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...