# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1228031 | Hamed_Ghaffari | Memory (IOI10_memory) | C++20 | 1 ms | 408 KiB |
#include "grader.h"
#include "memory.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> pos[25];
void play() {
for(int i=1; i<=50; i++)
pos[faceup(i)-'A'].push_back(i);
for(int i=0; i<25; i++)
if(pos[i][1]!=pos[i][0]+1)
faceup(pos[i][0]),
faceup(pos[i][1]);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |