# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1207293 | adriines06 | Memory (IOI10_memory) | C++20 | 0 ms | 408 KiB |
#include "grader.h"
#include "memory.h"
#include <bits/stdc++.h>
using namespace std;
void play() {
char a, b;
unordered_map <int,bool> mp;
for (int i=1; i<51; i++) {
if(mp[i]==true){
continue;
}
for (int j=i+1; j<51; j++) {
a = faceup(i);
b = faceup(j);
if(a==b){
cout<<a<<b<<j<<"\n";
mp[j]=true;
j=52;
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |