# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
346066 | ChampInMyThought | 버섯 세기 (IOI20_mushrooms) | C++17 | 0 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"
int count_mushrooms(int n) {
using namespace std;
vector<int> m;
for(int i=1;i<n;i++)
{
m.push_back(i);
m.push_back(0);
}
int result = use_machine(m);
int answer = n - result/2 - result%2;
return answer;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |