Submission #1002612

#TimeUsernameProblemLanguageResultExecution timeMemory
1002612MilosMilutinovicCounting Mushrooms (IOI20_mushrooms)C++14
0 / 100
0 ms344 KiB
#include "mushrooms.h"
#include <bits/stdc++.h>

using namespace std;

int count_mushrooms(int n) {
  int res = 0;
	for (int i = 1; i < n; i++) {
    res += !use_machine({0, i});
  }
  return res;
}
#Verdict Execution timeMemoryGrader output
Fetching results...