제출 #307741

#제출 시각아이디문제언어결과실행 시간메모리
307741CodePlatina버섯 세기 (IOI20_mushrooms)C++14
10 / 100
270 ms384 KiB
#include "mushrooms.h"

using namespace std;

int count_mushrooms(int n)
{
    int ret = 1;
	for(int i = 1; i < n; ++i)
    {
        ret += 1 - use_machine({0, i});
    }
    return ret;
}
#Verdict Execution timeMemoryGrader output
Fetching results...