Submission #546859

#TimeUsernameProblemLanguageResultExecution timeMemory
546859brunnorezendesCounting Mushrooms (IOI20_mushrooms)C++17
10 / 100
197 ms208 KiB
#include "mushrooms.h" #include <bits/stdc++.h> using namespace std; int count_mushrooms(int n){ int x=0, i; vector <int> v(2); v[0] = 0; for(i=1;i<n;i++){ v[1] = i; x += use_machine(v); } return n-x; }
#Verdict Execution timeMemoryGrader output
Fetching results...