Submission #359920

#TimeUsernameProblemLanguageResultExecution timeMemory
359920ponkungCounting Mushrooms (IOI20_mushrooms)C++14
0 / 100
1 ms364 KiB
#include "mushrooms.h" using namespace std; int count_mushrooms(int n) { vector<int> v; int op; for(int i=0;i<n;i++) { v.push_back(0); v.push_back(i); } v.push_back(0); op=use_machine(v); return n-(op/2); }
#Verdict Execution timeMemoryGrader output
Fetching results...