(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

Submission #227544

#TimeUsernameProblemLanguageResultExecution timeMemory
227544anubhavdharMemory (IOI10_memory)C++14
100 / 100
8 ms512 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> #define ll long long int #define pb push_back #define mp make_pair #define FOR(i,n) for(i=0;i<(n);++i) #define FORe(i,n) for(i=1;i<=(n);++i) #define FORr(i,a,b) for(i=(a);i<(b);++i) #define FORrev(i,n) for(i=(n);i>=0;--i) #define ii pair<ll,ll> #define vi vector<ll> #define vii vector<ii> #define ff first #define ss second #define cd complex<double> #define vcd vector<cd> #define ldd long double #define all(x) (x).begin(),(x).end() using namespace std; void play() { int i,j,posA[25],posB[25]; FORe(i,50) { j = faceup(i) - 'A'; posA[j] = posB[j]; posB[j] = i; } FOR(i,25) { faceup(posA[i]); faceup(posB[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...