# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
377138 | kevinxiehk | Memory (IOI10_memory) | C++17 | 0 ms | 0 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<memory.h>
#include<grader.h>
#ifdef __cplusplus
extern "C" {
#endif
char faceup(int C);
void play();
#ifdef __cplusplus
}
#endif
#include<bits/stdc++.h>
using namespace std;
// TODO: global variables can be declared here
map<char,vector<int>>mp;
void play() {
for(int i=1;i<=50;i++)mp[faceup(i)].push_back(i);
for(char c='A';c<='Y';c++){faceup(mp[c][0]);faceup(mp[c][1]);}
return;
}