# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1113625 | m_bezrutchka | Memory (IOI10_memory) | C++14 | 3 ms | 508 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;
void play() {
vector<char> q;
int i;
char a, b;
for (i = 0; i < 25; i++) {
a = faceup(2*i + 1);
b = faceup(2*i + 2);
q.push_back(a);
q.push_back(b);
}
for(int j = 0; j < q.size(); j++){
for(int k = j + 1; k < q.size(); k++){
if(q[j] == q[k]){
faceup(j + 1);
faceup(k + 1);
}
}
}
return;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |