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