제출 #332983

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