Submission #405271

#TimeUsernameProblemLanguageResultExecution timeMemory
405271balbitCounting Mushrooms (IOI20_mushrooms)C++14
10 / 100
281 ms252 KiB
#include "mushrooms.h" using namespace std; int count_mushrooms(int n) { std::vector<int> m; int re = n; for (int i = 1; i < n; i++) { if (use_machine({0,i})) re--; } return re; }
#Verdict Execution timeMemoryGrader output
Fetching results...