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

#TimeUsernameProblemLanguageResultExecution timeMemory
732252Roman70Memory (IOI10_memory)C++17
0 / 100
1 ms208 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> #define forn(i,n) for(int i = 0;i<n;i++) #define ll long long #define pb push_back #define sz(a) a.size() using namespace std; void play() { char a,b; vector<vector<int>>c(25); for(int i = 1;i<=50;i+=2){ a = faceup(i); b = faceup(i+1); if(a != b) {c[a-'a'].push_back(i+1); c[b-'a'].push_back(i+1);} } for(int i = 0;i<25;i++){ if(c[i].size()){ faceup(c[i][0]); faceup(c[i][1]); } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...