Submission #908907

#TimeUsernameProblemLanguageResultExecution timeMemory
90890712345678Coins (IOI17_coins)C++17
10 / 100
9 ms2116 KiB
#include "coins.h" #include <bits/stdc++.h> using namespace std; std::vector<int> coin_flips(std::vector<int> b, int c) { vector<int> v(1); if (c==0) { if (b[0]==1) v[0]=0; else v[0]=1; } else { if (b[0]==0) v[0]=0; else v[0]=1; } return v; } int find_coin(std::vector<int> b) { return b[0]; if (b[0] == 0) { return 0; } return 7; }
#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...