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

#TimeUsernameProblemLanguageResultExecution timeMemory
420045Lam_lai_cuoc_doiMemory (IOI10_memory)C++17
100 / 100
7 ms264 KiB
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using ull = unsigned long long; constexpr bool typetest = 0; constexpr int N = 4e5 + 2; #include "grader.h" #include "memory.h" void play() { vector<int> a[50]; for (int i = 1; i <= 50; i += 2) { int x = faceup(i) - 'A', y = faceup(i + 1) - 'A'; a[x].emplace_back(i); a[y].emplace_back(i + 1); if (x == y) a[x].clear(); } for (int i = 0; i < 25; ++i) if (!a[i].empty()) { faceup(a[i][0]); faceup(a[i][1]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...