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<int> letra(30,0);
for(int i=1; i<=50; i++){
int k = faceup(i);
if(letra[k - 'a'] != 0) faceup(letra[k-'a']);
else{
if(i<50) faceup(i+1);
}
letra[k-'a'] = i;
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |