제출 #1185629

#제출 시각아이디문제언어결과실행 시간메모리
1185629islam_2010Counting Mushrooms (IOI20_mushrooms)C++20
0 / 100
0 ms420 KiB
#include <bits/stdc++.h> #include "mushrooms.h" using namespace std; int count_mushrooms(int n){ int ans = 0; for(int i = 0; i < n-1; i--){ ans += (use_machine({0, i})==1); }return ans+1; }
#Verdict Execution timeMemoryGrader output
Fetching results...