제출 #580642

#제출 시각아이디문제언어결과실행 시간메모리
580642Omar_ElgedawyCoins (IOI17_coins)C++14
10 / 100
8 ms1512 KiB
#include <bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int> b, int c) { vector<int>inv; if(c){ if(b[0]==b[1]){ inv.push_back(3); } else if(b[0]){ inv.push_back(0); } else{ inv.push_back(1); } } else{ if(b[0]==b[1]){ inv.push_back(0); } else{ inv.push_back(3); } } return inv; } int find_coin(std::vector<int> b){ if(b[0]==b[1])return 1; else return 0; }
#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...