Submission #717668

#TimeUsernameProblemLanguageResultExecution timeMemory
717668AndrijaMMemory (IOI10_memory)C++14
0 / 100
1 ms336 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { char a, b; vector<int>v[26]; for(int i=1;i<=49;i++) { a=faceup(i); b=faceup(i+1); v[a-'a'].push_back(i); v[b-'a'].push_back(i+1); i++; } for(int i=0;i<25;i++) { if(v[i].size()==0)return ; faceup(v[i][0]); faceup(v[i][1]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...