# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
989831 | aaaaaarroz | Memory (IOI10_memory) | C++17 | 0 ms | 0 KiB |
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(vector<int>cartas:valores){
faceup(cartas[0]);
faceup(cartas[1]);
}
}