(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 #249945

#TimeUsernameProblemLanguageResultExecution timeMemory
249945uacoder123Memory (IOI10_memory)C++14
100 / 100
2 ms416 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; #define F first #define S second #define FOR(i,a,b) for (auto i = (a); i <= (b); ++i) #define NFOR(i,a,b) for(auto i = (a); i >= (b); --i) #define all(x) (x).begin(), (x).end() #define sz(x) int(x.size()) #define mp(i,a) make_pair(i,a) #define pb(a) push_back(a) #define bit(x,b) (x&(1LL<<b)) typedef long long int lli; typedef pair <lli,lli> ii; typedef pair <lli,ii> iii; typedef vector <lli> vi; void play() { char a; vi arr[25]; for (int i=1; i<=50; ++i) { a=faceup(i); arr[a-'A'].pb(i); } for(int i=0;i<25;++i) { faceup(arr[i][0]); faceup(arr[i][1]); } return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...