# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
346066 | 2021-01-09T05:07:07 Z | ChampInMyThought | Counting Mushrooms (IOI20_mushrooms) | C++17 | 0 ms | 364 KB |
#include "mushrooms.h" int count_mushrooms(int n) { using namespace std; vector<int> m; for(int i=1;i<n;i++) { m.push_back(i); m.push_back(0); } int result = use_machine(m); int answer = n - result/2 - result%2; return answer; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 364 KB | Too large array for query. |
2 | Halted | 0 ms | 0 KB | - |