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 "memory.h"
#include "grader.h"
#include <bits/stdc++.h>
#define pb push_back
#define f first
#define sc second
using namespace std;
typedef long long int ll;
typedef string str;
void play(){
vector<bool> bl(25, 0);
vector<int> pos(25, -1);
bool up = 0;
for(int i = 1; i <= 50; i++){
int c = faceup(i)-'A';
up = !up;
if(pos[c] == -1) pos[c] = i;
else{
if(!up) faceup(i);
faceup(pos[c]);
up = 0;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |