Submission #918718

#TimeUsernameProblemLanguageResultExecution timeMemory
918718HasanV11010238Coins (IOI17_coins)C++17
0 / 100
8 ms1692 KiB
#include "coins.h" std::vector<int> coin_flips(std::vector<int> b, int c) { int as = 0; for (int i = 0; i <= 63; i++){ if (b[i]){ as ^= i; } } return {c^as}; } int find_coin(std::vector<int> b) { int ans = 0; for (int i = 0; i <= 63; i++){ 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...