| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 306689 | faustaadp | 버섯 세기 (IOI20_mushrooms) | C++17 | 253 ms | 384 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#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... | ||||
