Submission #587967

#TimeUsernameProblemLanguageResultExecution timeMemory
587967MohamedFaresNebiliMemory (IOI10_memory)C++14
100 / 100
3 ms292 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "memory.h"
/// #pragma GCC optimize ("Ofast")
/// #pragma GCC target ("avx2")
/// #pragma GCC optimize("unroll-loops")

        using namespace std;

        using ll = long long;
        using ii = pair<ll, ll>;
        using vi = vector<int>;

        #define ff first
        #define ss second
        #define pb push_back
        #define all(x) (x).begin(), (x).end()
        #define lb lower_bound

        const int MOD = 1000 * 1000 * 1000 + 7;
        
        void play() {
            vector<int> A[51];
            for(int l = 1; l <= 50; l++) A[faceup(l) - 'A'].pb(l);
            for(int l = 0; l <= 24; l++) faceup(A[l][0]), faceup(A[l][1]);
        }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...