Submission #767352

#TimeUsernameProblemLanguageResultExecution timeMemory
767352Gabi88Memory (IOI10_memory)C++14
0 / 100
1 ms464 KiB
#include<bits/stdc++.h> using namespace std; vector<set<int>> v; set<int> s; char a; int play(){ ios_base::sync_with_stdio(false); cin.tie(0); while(v.size() < 25) v.push_back(s); for(int i=1; i < 51; i++){ cout << "faceup(" << i << ")" << endl; cin >> a; v[a-'A'].insert(i); } for(int i=1; i < 26; i++){ for(auto it : v[i]){ cout << "faceup(" << it << ")" << endl; cin >> a; } } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...