Submission #940402

#TimeUsernameProblemLanguageResultExecution timeMemory
940402sleepntsheepCoins (IOI17_coins)C++17
100 / 100
8 ms1944 KiB
#include "coins.h" std::vector<int> coin_flips(std::vector<int> b, int c) { int x = 0; for(int i=0;i<64;++i)if(b[i])x^=i; std::vector<int> flips; flips.push_back(x^c); return flips; } int find_coin(std::vector<int> b) { int x=0; for(int i=0;i<64;++i)if(b[i])x^=i; return x; }
#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...