제출 #597650

#제출 시각아이디문제언어결과실행 시간메모리
597650ogibogi2004버섯 세기 (IOI20_mushrooms)C++14
10 / 100
230 ms724 KiB
#include "mushrooms.h"
#include <bits/stdc++.h>
using namespace std;
int count_mushrooms(int n) {
    vector<int>A,B;
    A.push_back(0);
    for(int i=1;i<n;i++)
    {
        if(use_machine({0,i})==0)A.push_back(i);
        else B.push_back(i);
    }
    return A.size();
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…