제출 #312661

#제출 시각아이디문제언어결과실행 시간메모리
312661pere_gil버섯 세기 (IOI20_mushrooms)C++14
0 / 100
1 ms256 KiB
#include "mushrooms.h" #include "bits/stdc++.h" int count_mushrooms(int n) { std::vector<int> m; int res=0; for (int i = 1; i < n; i++){ m.push_back(0); m.push_back(i); if(use_machine(m)==0) res++; m.clear(); } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...