Submission #995347

#TimeUsernameProblemLanguageResultExecution timeMemory
995347BorsCoins (IOI17_coins)C++17
100 / 100
8 ms1812 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) { vi flips(1); int x=c; rep(i,64) if(b[i]) x^=i; flips[0]=x; return flips; } 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...