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 "grader.h"
#include "memory.h"
#include <bits/stdc++.h>
using namespace std;
vector<vector<int>> v(50, vector<int>(50));
// map<int,char> m;
void play(){
for (int i=1; i<=50; i++){
char c = faceup(i);
v[c-'A'].push_back(i);
}
for (int i=1; i<=25; i++){
faceup(v[i][0]);
faceup(v[i][1]);
}
// for (char c = 'a'; c<='y'; c++){
// int pos1=-1, pos2=-1;
// for (auto e : m){
// if (e.second == c && pos1 == -1) pos1 = e.first;
// else pos2 = e.first;
// }
// faceup(pos1);
// faceup(pos2);
// }
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |