제출 #1359544

#제출 시각아이디문제언어결과실행 시간메모리
1359544FZ_Laabidi버섯 세기 (IOI20_mushrooms)C++20
0 / 100
0 ms344 KiB
#include "mushrooms.h"
#include <bits/stdc++.h>
#include <cmath>
using namespace std;

int count_mushrooms(int n) {

		int o = 1;
		for(int i=1; i<n; i+=2){
			o+=2;
			o-=use_machine({i, 0, i+1});
		}
		return o;

}
#Verdict Execution timeMemoryGrader output
Fetching results...