제출 #359920

#제출 시각아이디문제언어결과실행 시간메모리
359920ponkung버섯 세기 (IOI20_mushrooms)C++14
0 / 100
1 ms364 KiB
#include "mushrooms.h" using namespace std; int count_mushrooms(int n) { vector<int> v; int op; for(int i=0;i<n;i++) { v.push_back(0); v.push_back(i); } v.push_back(0); op=use_machine(v); return n-(op/2); }
#Verdict Execution timeMemoryGrader output
Fetching results...