Submission #994905

#TimeUsernameProblemLanguageResultExecution timeMemory
994905ducksaysquackMemory (IOI10_memory)C++98
0 / 100
1 ms344 KiB
#include <bits/stdc++.h> #include "grader.h" #include "memory.h" #define f first #define s second using namespace std; void play() { vector<pair<int,int>> v(25); for(int i=1;i<=50;i++) { char x = faceup(i); if(v[int(x)-97].f) v[int(x)-97].s = i; else v[int(x)-97].f = i; } for(auto i:v) {faceup(i.f); faceup(i.s);} }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...