# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
312668 | jam_xd_ | 버섯 세기 (IOI20_mushrooms) | C++17 | 0 ms | 256 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"
#include <bits/stdc++.h>
int count_mushrooms(int n) {
std::vector<int> m, v;
for (int i = 0; i < n; i++)m.push_back(i);
int sum = 0;
for(int i=1;i<m.size();i++){
v = {0,i};
if(use_machine(v) == 0)sum++;
v.clear();
}
return sum;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |