제출 #377793

#제출 시각아이디문제언어결과실행 시간메모리
377793autumn_eel버섯 세기 (IOI20_mushrooms)C++14
10 / 100
260 ms508 KiB
#include "mushrooms.h" #include <bits/stdc++.h> #define rep(i,n)for(int i=0;i<int(n);i++) using namespace std; typedef long long ll; int count_mushrooms(int n) { int cnt=0; for(int i=1;i<n;i++){ vector<int>v={0,i}; int c=use_machine(v); if(!c)cnt++; } return cnt+1; }
#Verdict Execution timeMemoryGrader output
Fetching results...