Submission #1038187

#TimeUsernameProblemLanguageResultExecution timeMemory
1038187HanksburgerCoins (IOI17_coins)C++17
100 / 100
8 ms1860 KiB
#include "coins.h" #include <bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int> b, int c) { int s=0; for (int i=0; i<64; i++) s^=b[i]*i; return vector<int>(1, s^c); } int find_coin(vector<int> b) { int s=0; for (int i=0; i<64; i++) s^=b[i]*i; return s; }
#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...