Submission #563304

#TimeUsernameProblemLanguageResultExecution timeMemory
563304JANCARAPANMemory (IOI10_memory)C++17
100 / 100
2 ms280 KiB
#include "grader.h"
#include "memory.h"
#include <bits/stdc++.h>
using namespace std;



vector<int> v[55];
// map<int,char> m;
void play(){

    for (int i=1; i<=50; i++){
        char c = faceup(i);
        v[c-'A'].push_back(i);
    }
    for (int i=0; i<25; i++){
        faceup(v[i][0]);
        faceup(v[i][1]);
    }
    // for (char c = 'a'; c<='y'; c++){
    //     int pos1=-1, pos2=-1;
    //     for (auto e : m){
    //         if (e.second == c && pos1 == -1) pos1 = e.first;
    //         else pos2 = e.first;
    //     }
    //     faceup(pos1);
    //     faceup(pos2);
    // }
}
 
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...