제출 #1185641

#제출 시각아이디문제언어결과실행 시간메모리
1185641islam_2010Counting Mushrooms (IOI20_mushrooms)C++20
0 / 100
0 ms420 KiB
#include <bits/stdc++.h>
#include "mushrooms.h"

using namespace std;

int count_mushrooms(int n){
    int ans = 0;
    for(int i = 0; i < n-1; i--){
        ans += (!use_machine({0, i}));
    }return ans+1;
}

#Verdict Execution timeMemoryGrader output
Fetching results...