Submission #979272

#TimeUsernameProblemLanguageResultExecution timeMemory
979272ZicrusCounting Mushrooms (IOI20_mushrooms)C++17
10 / 100
145 ms344 KiB
#include <bits/stdc++.h> #include "mushrooms.h" using namespace std; typedef long long ll; int count_mushrooms(int n) { ll res = 1; for (int i = 1; i < n; i++) { res += 1 - use_machine({0, i}); } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...