# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
359920 | ponkung | Counting Mushrooms (IOI20_mushrooms) | C++14 | 1 ms | 364 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |