Submission #905276

#TimeUsernameProblemLanguageResultExecution timeMemory
905276rainboyCoins (IOI17_coins)C++17
100 / 100
9 ms1952 KiB
#include "coins.h" using namespace std; typedef vector<int> vi; const int N = 64; vi coin_flips(vi aa, int a) { for (int i = 0; i < N; i++) if (aa[i]) a ^= i; return { a }; } int find_coin(vi aa) { int a = 0; for (int i = 0; i < N; i++) if (aa[i]) a ^= i; return a; }
#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...