# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
669135 | Toxtaq | Memory (IOI10_memory) | C++17 | 1 ms | 208 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<bits/stdc++.h>
using namespace std;
void play(){
int cnt = 0;
map<char, pair<int, int>>mp;
for(int i = 1;i <= 50;++i){
char c = faceup(i);
if(mp[c].first <= 50 && mp[c].first >= 1)mp[c].second = i;
else mp[c].first = i;
}
for(auto i = mp.begin();i != mp.end();++i){
char c1 = (i->second.first);
char c2 = faceup(i->second.second);
cnt++;
if(cnt == 25)return;
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |