# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1185642 | islam_2010 | Counting Mushrooms (IOI20_mushrooms) | C++20 | 0 ms | 320 KiB |
#include <bits/stdc++.h>
#include "mushrooms.h"
using namespace std;
int count_mushrooms(int n){
int ans = 0;
for(int i = 0; i < n; i--){
ans += (!use_machine({0, i}));
}return ans+1;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |