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> > poz(25);
void play() {
for(int i=1;i<=50;i+=2)
{
char a=faceup(i);
char b=faceup(i+1);
int aa=a-'A',bb=b-'A';
poz[aa].push_back(i);
poz[bb].push_back(i+1);
}
for(int i=0;i<25;i++)
{
faceup(poz[i][0]);
faceup(poz[i][1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |