Submission #1015560

#TimeUsernameProblemLanguageResultExecution timeMemory
1015560jairRSCounting Mushrooms (IOI20_mushrooms)C++17
0 / 100
0 ms344 KiB
#include "mushrooms.h" #include <iostream> using namespace std; int count_mushrooms(int n) { int ans = 0; for (int i = 1; i < n; i++) { int x = use_machine({0, i}); if (x == 0) ans++; } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...