제출 #604904

#제출 시각아이디문제언어결과실행 시간메모리
604904HamletPetrosyan버섯 세기 (IOI20_mushrooms)C++17
10 / 100
228 ms256 KiB
#include "mushrooms.h"
#include <vector>
using namespace std;

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