# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
546859 | brunnorezendes | Counting Mushrooms (IOI20_mushrooms) | C++17 | 197 ms | 208 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>
using namespace std;
int count_mushrooms(int n){
int x=0, i;
vector <int> v(2);
v[0] = 0;
for(i=1;i<n;i++){
v[1] = i;
x += use_machine(v);
}
return n-x;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |