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() {
char a, b;
vector<int>v[26];
for(int i=1;i<=49;i++)
{
a=faceup(i);
b=faceup(i+1);
v[a-'a'].push_back(i);
v[b-'a'].push_back(i+1);
i++;
}
for(int i=0;i<25;i++)
{
if(v[i].size()==0)return ;
faceup(v[i][0]);
faceup(v[i][1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |