Submission #387305

#TimeUsernameProblemLanguageResultExecution timeMemory
387305AlmaCoins (IOI17_coins)C++17
100 / 100
14 ms1908 KiB
#include <bits/stdc++.h> #include "coins.h" using namespace std; vector<int> coin_flips (vector<int> b, int c) { vector<int> f; int x = 0; for (int i = 0; i < 64; i++) { if (b[i]) x ^= i; } f.push_back(x ^= c); return f; } 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...