Submission #307741

#TimeUsernameProblemLanguageResultExecution timeMemory
307741CodePlatinaCounting Mushrooms (IOI20_mushrooms)C++14
10 / 100
270 ms384 KiB
#include "mushrooms.h" using namespace std; int count_mushrooms(int n) { int ret = 1; for(int i = 1; i < n; ++i) { ret += 1 - use_machine({0, i}); } return ret; }
#Verdict Execution timeMemoryGrader output
Fetching results...