Submission #1002612

# Submission time Handle Problem Language Result Execution time Memory
1002612 2024-06-19T17:00:59 Z MilosMilutinovic Counting Mushrooms (IOI20_mushrooms) C++14
0 / 100
0 ms 344 KB
#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 time Memory Grader output
1 Incorrect 0 ms 344 KB Answer is not correct.
2 Halted 0 ms 0 KB -