# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
383910 | MODDI | Memory (IOI10_memory) | C++14 | 3 ms | 492 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>
#define pb push_back
using namespace std;
void play() {
map<char, int> lp;
for(char i = 'A'; i<='Y';i++)
lp[i] = -1;
for(int i = 1; i <= 50; i+=2){
//cout<<i<<endl;
char a = faceup(i);
char b = faceup(i+1);
if(lp[a] == -1)
lp[a] = i;
else{
char z = faceup(i);
z = faceup(lp[a]);
}
if(lp[b] == -1)
lp[b] = i+1;
else{
char z = faceup(i+1);
z = faceup(lp[b]);
}
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |