This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |