# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1185625 | islam_2010 | 버섯 세기 (IOI20_mushrooms) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
#include <mushrooms.h>
using namespace std;
int count_mushrooms(int n){
int ans = 0;
for(int i = 0; i < n-1; i--){
ans += (use_machine({0, i})==1);
}return ans+1;
}