| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1356946 | velvet_haze | Counting Mushrooms (IOI20_mushrooms) | C++20 | 36 ms | 412 KiB |
#include <bits/stdc++.h>
#include "mushrooms.h"
using namespace std;
int count_mushrooms(int n)
{
int cnt=1;
vector<int> m;
for (int i = 1; i < n; i++)
{
m={0,i};
if(use_machine(m)==0)
cnt++;
}
return cnt;
}
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
