제출 #570359

#제출 시각아이디문제언어결과실행 시간메모리
570359JomnoiCoins (IOI17_coins)C++17
10 / 100
10 ms1548 KiB
#include <bits/stdc++.h> #include "coins.h" using namespace std; vector <int> coin_flips(vector <int> b, int c) { vector <int> flips; 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...