Submission #1134189

#TimeUsernameProblemLanguageResultExecution timeMemory
1134189lopkusMemory (IOI10_memory)C++20
50 / 100
2 ms408 KiB
#include <bits/stdc++.h> #include "grader.h" #include "memory.h" using namespace std; void play() { vector<int> was(51, 0); for(int i = 1; i <= 50; i++) { if(was[i]) { continue; } for(int j = i + 1; j <= 50; j++) { if(was[j]) { continue; } char a = faceup(i); char b = faceup(j); if(a == b) { was[i] = 1; was[j] = 1; break; } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...