제출 #332990

#제출 시각아이디문제언어결과실행 시간메모리
332990strawberry2005Coins (IOI17_coins)C++14
10 / 100
12 ms1700 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(0); else if(c==0&&b[c]==0) flips.push_back(1); else if(c==1&&b[0]==0) flips.push_back(0); else flips.push_back(1); return flips; } int find_coin(vector<int> b) { int ans=b[0]; 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...