Submission #412417

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