Submission #1185625

#TimeUsernameProblemLanguageResultExecution timeMemory
1185625islam_2010Counting Mushrooms (IOI20_mushrooms)C++20
Compilation error
0 ms0 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})==1);
    }return ans+1;
}

Compilation message (stderr)

mushrooms.cpp:2:10: fatal error: mushrooms.h: No such file or directory
    2 | #include <mushrooms.h>
      |          ^~~~~~~~~~~~~
compilation terminated.