Submission #906258

#TimeUsernameProblemLanguageResultExecution timeMemory
906258andrewpCoins (IOI17_coins)C++14
100 / 100
9 ms2096 KiB
#include "coins.h" using namespace std; const int ivamanjeod3 = 64; vector<int> coin_flips(vector<int> iva, int a) { for (int i = 0; i < ivamanjeod3; i++) { if (iva[i]) { a ^= i; } } return {a}; } int find_coin(vector<int> iva) { int ivaziva = 0; for (int i = 0; i < ivamanjeod3; i++) { if (iva[i]) { ivaziva ^= i; } } return ivaziva; }
#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...