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

#TimeUsernameProblemLanguageResultExecution timeMemory
318332apostoldaniel854Coins (IOI17_coins)C++14
100 / 100
12 ms1896 KiB
#include <bits/stdc++.h> #include "coins.h" using namespace std; using ll = long long; #define pb push_back #define dbg(x) cerr << #x << " " << x << "\n" int find_coin (vector <int> b); vector <int> coin_flips (vector <int> b, int c) { vector <int> flips; int x = find_coin (b); flips.pb (x ^ c); return flips; } int find_coin (vector <int> b) { int x = 0; for (int i = 0; i < 64; i++) if (b[i]) x ^= i; return x; } /**int main () { return 0; }**/
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...