Submission #650133

#TimeUsernameProblemLanguageResultExecution timeMemory
650133noob_c0deCoins (IOI17_coins)C++17
0 / 100
8 ms1212 KiB
#include<bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int> b, int c) { int ans = 0; for (int i = 0; i < 64; i++) if (b[i] == 1) ans ^= i; ans ^= c; b[ans] ^= 1; return b; } int find_coin(vector<int> b) { int ans = 0; for (int i = 0; i < 64; i++) if (b[i] == 1) ans ^= i; return ans; }
#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...