# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
802811 | 2023-08-02T14:48:00 Z | Gabi88 | Memory (IOI10_memory) | C++14 | 0 ms | 0 KB |
#include<bits/stdc++.h> #include "memory" using namespace std; void play(){ int l[25][2]; memset(l, -1, sizeof l); int x; for(int i=1; i < 51; i++){ x = faceup(i)-'A'; if (l[x][0] == -1) l[x][0] = i; else l[x][1] = i; } for(int i=0; i < 25; i++){ x = faceup(l[i][0]); x = faceup(l[i][1]); } return; }