Submission #1207415

#TimeUsernameProblemLanguageResultExecution timeMemory
1207415That_SalamanderCounting Mushrooms (IOI20_mushrooms)C++20
10 / 100
50 ms404 KiB
#include "mushrooms.h" int count_mushrooms(int n) { int res = 1; for (int i = 1; i < n; i++) { if (use_machine({0, i}) == 0) res++; } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...