제출 #1356946

#제출 시각아이디문제언어결과실행 시간메모리
1356946velvet_haze버섯 세기 (IOI20_mushrooms)C++20
10 / 100
36 ms412 KiB
#include <bits/stdc++.h>
#include "mushrooms.h"

using namespace std;

int count_mushrooms(int n) 
{
	int cnt=1;
	vector<int> m;
	for (int i = 1; i < n; i++)
	{
		m={0,i};
		if(use_machine(m)==0)
			cnt++;
	}
	return cnt;
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…