Submission #570358

#TimeUsernameProblemLanguageResultExecution timeMemory
570358JomnoiCoins (IOI17_coins)C++17
0 / 100
7 ms1548 KiB
#include <bits/stdc++.h> #include "coins.h" using namespace std; vector <int> coin_flips(vector <int> b, int c) { vector <int> flips(1); if((b[0] == c and b[1] == c) or (b[0] == !c and b[1] == c)) { flips.push_back(0); } else { flips.push_back(1); } return flips; } int find_coin(vector <int> b) { if(b[1] == 0) { return 0; } return 1; }
#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...