# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
299002 | 2020-09-14T12:00:27 Z | EJOI2019Andrew | Memory (IOI10_memory) | C++17 | 0 ms | 0 KB |
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std; void play() { char arr[50]; map<char,int>pos; for(int i=1; i<=50; ++i) { char a=faceup(i); if(vis[a]==1) faceup(pos[a]); vis[a]=1; pos[a]=i; } }