제출 #588326

#제출 시각아이디문제언어결과실행 시간메모리
588326supercatex버섯 세기 (IOI20_mushrooms)C++14
0 / 100
0 ms208 KiB
#include "mushrooms.h" #include <bits/stdc++.h> using namespace std; int count_mushrooms(int n) { vector<int> a, b; a.push_back(0); int res = 1; int i = 1; while (i < n && a.size() < 100) { res += 2 - use_machine(vector<int>{i, 0, i + 1}); i += 2; } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...