Submission #1356807

#TimeUsernameProblemLanguageResultExecution timeMemory
1356807SacharlemagneCounting Mushrooms (IOI20_mushrooms)C++20
0 / 100
0 ms344 KiB
#include "mushrooms.h"

using namespace std;
typedef vector<int> vi;
int count_mushrooms(int n) {
    int ans = 0;
	for (int i = 1; i<n; ++i) {
        ans += use_machine(vi{0, i});
    }
    return ans;
}
#Result Execution timeMemoryGrader output
Fetching results...