Submission #1092652

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