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;
char faceup(int c);
void play() {
map<char,vector<int>>valores;
for(int i=1;i<=49;i++){
char a=faceup(i);
char b=faceup(i+1);
if(a==b){
continue;
}
else{
valores[a].push_back(i);
valores[b].push_back(i+1);
}
}
for(pair<char,vector<int>>cartas:valores){
faceup(cartas.second[0]);
faceup(cartas.second[1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |