Submission #909508

#TimeUsernameProblemLanguageResultExecution timeMemory
909508ttamxCoins (IOI17_coins)C++14
0 / 100
9 ms1524 KiB
#include "coins.h" using namespace std; vector<int> coin_flips(vector<int> b,int c){ int res=0; for(int i=0;i<64;i++)if(b[i])res^=i; b[res^c]^=1; return b; } int find_coin(vector<int> b) { int res=0; for(int i=0;i<64;i++)if(b[i])res^=i; return res; }
#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...