# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
978819 | AlphaMale06 | Memory (IOI10_memory) | C++17 | 1 ms | 596 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<bits/stdc++.h>
#include "memory.h"
using namespace std;
char faceup(int C);
void play() {
int cur=1;
pair<int, int> ind[26];
for(int i=1; i<=25; i++)ind[i] = {-1, -1};
for(int i=1; i<=50; i++){
int val = faceup(i)-'A';
val++;
if(ind[val].first==-1)ind[val].first=i;
else ind[val].second=i;
}
for(int i=1; i<=25; i++){
if(ind[i].first+1 == ind[i].second && ind[i].first & 1)continue;
int val = faceup(ind[i].first);
val = faceup(ind[i].second);
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |