Submission #919044

#TimeUsernameProblemLanguageResultExecution timeMemory
919044ayankarimovaCoins (IOI17_coins)C++14
100 / 100
9 ms1704 KiB
#include "coins.h" #define ll long long using namespace std; vector<int> coin_flips(vector<int> b, int c) { ll xr=0; for(int i=0; i<64; i++){ if(b[i]) xr=xr^i; } vector<int>ret; ret.push_back(xr^c); return ret; } int find_coin(vector<int> b) { ll xr=0; for(int i=0; i<64; i++){ if(b[i]) xr=xr^i; } return xr; }
#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...