Submission #998421

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