# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
306689 | faustaadp | 버섯 세기 (IOI20_mushrooms) | C++17 | 253 ms | 384 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;
typedef long long ll;
#define pb push_back
#define mp make_pair
#define fi first
#define se second
const ll NN = 2e3;
ll has = 1;
int count_mushrooms(int n) {
for(ll i = 1; i < n; i++)
{
vector<int> tmp;
tmp.pb(0);
tmp.pb(i);
if(!use_machine(tmp))
has++;
}
return has;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |