Submission #948729

#TimeUsernameProblemLanguageResultExecution timeMemory
948729PikachuCoins (IOI17_coins)C++17
100 / 100
8 ms2344 KiB
#include "coins.h" using namespace std; vector<int> coin_flips(vector<int> b, int c) { int tmp = 0; for (int i = 0; i < 64; i++) { if (b[i]) tmp ^= i; } return vector<int>(1, tmp ^ c); } int find_coin(vector<int> b) { int ans = 0; for (int i = 0; i < 64; i++) { if (b[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...