Submission #995348

#TimeUsernameProblemLanguageResultExecution timeMemory
995348BorsCoins (IOI17_coins)C++17
100 / 100
9 ms1524 KiB
#include <bits/stdc++.h> #include "coins.h" using namespace std; #define rep(i,n) for(int i=0; i<n; i++) typedef vector<int> vi; vi coin_flips(vi b, int c) { int x=c; rep(i,64) if(b[i]) x^=i; return {x}; } int find_coin(vi b) { int x=0; rep(i,64) 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...