# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1046971 | amirhoseinfar1385 | Counting Mushrooms (IOI20_mushrooms) | C++17 | 120 ms | 596 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 ret=1;
std::vector<int> m;
for(int i=1;i<n;i++){
m={0,i};
if(use_machine(m)){
//hehe
}else{
ret++;
}
}
//int c2 = use_machine(m);
return ret;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |