Submission #1002616

#TimeUsernameProblemLanguageResultExecution timeMemory
1002616MilosMilutinovicCounting Mushrooms (IOI20_mushrooms)C++14
10 / 100
133 ms596 KiB
#include "mushrooms.h" #include <bits/stdc++.h> using namespace std; int count_mushrooms(int n) { int res = 1; for (int i = 1; i < n; i++) { res += 1 - use_machine({0, i}); } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...