제출 #1002616

#제출 시각아이디문제언어결과실행 시간메모리
1002616MilosMilutinovicCounting Mushrooms (IOI20_mushrooms)C++14
10 / 100
133 ms596 KiB
#include "mushrooms.h"
#include <bits/stdc++.h>

using namespace std;

int count_mushrooms(int n) {
  int res = 1;
  for (int i = 1; i < n; i++) {
    res += 1 - use_machine({0, i});
  }
  return res;
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…