Submission #734564

#TimeUsernameProblemLanguageResultExecution timeMemory
734564abcvuitunggioCoins (IOI17_coins)C++17
100 / 100
12 ms1564 KiB
#include "coins.h" #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...