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;
void play() {
vector<pair<int, int>> V;
for(int i=1; i<=25; i++){
V.push_back({faceup(2*i-1), 2*i-1});
V.push_back({faceup(2*i), 2*i});
}
sort(V.begin(), V.end());
for(int i=0; i<25; i++){
faceup(V[2*i].second);
faceup(V[2*i+1].second);
//cout<<V[2*i].first<<V[2*i+1].first<<"\n";
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |