제출 #1362859

#제출 시각아이디문제언어결과실행 시간메모리
1362859cowkim버섯 세기 (IOI20_mushrooms)C++20
10 / 100
36 ms400 KiB
#include "mushrooms.h"

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