Submission #1292743

#TimeUsernameProblemLanguageResultExecution timeMemory
1292743kahoulCounting Mushrooms (IOI20_mushrooms)C++20
0 / 100
0 ms332 KiB
#include "mushrooms.h" using namespace std; int count_mushrooms(int n) { int resp = 0; for (int i = 1; i <= n; i += 2) { vector<int> m = {i, 0, i + 1}; resp += 2 - use_machine(m); } return resp; }
#Verdict Execution timeMemoryGrader output
Fetching results...