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

#TimeUsernameProblemLanguageResultExecution timeMemory
650127blueCoins (IOI17_coins)C++17
100 / 100
12 ms1556 KiB
#include "coins.h" #include <bits/stdc++.h> using namespace std; using vi = vector<int>; vi coin_flips(vi b, int c) { int tot = 0; for(int i = 0; i < 64; i++) if(b[i]) tot ^= i; int flip = c ^ tot; return {flip}; } int find_coin(vi b) { int res = 0; for(int i = 0; i < 64; i++) if(b[i]) res ^= i; return res; }
#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...