제출 #432475

#제출 시각아이디문제언어결과실행 시간메모리
432475Rouge_HugoCounting Mushrooms (IOI20_mushrooms)C++14
10 / 100
212 ms256 KiB
#include<bits/stdc++.h>
#include "mushrooms.h"
#define ll long long
#define fi first
#define se second
#define pb push_back
using namespace std;
vector<int>v;
int count_mushrooms(int n) {
    int a=1,b=0;
	for(int i=1;i<n;i++)
    {
        v.clear();v.pb(0);v.pb(i);
        if(use_machine(v)==1)b++;
        else a++;
    }
    return a;
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…