Submission #1064719

# Submission time Handle Problem Language Result Execution time Memory
1064719 2024-08-18T17:08:46 Z thatsgonzalez Counting Mushrooms (IOI20_mushrooms) C++14
0 / 100
0 ms 344 KB
#include "mushrooms.h"

int count_mushrooms(int n) {
	
	int ans = 1;

	for(int i = 1; i<n; i++){
		if(use_machine({0,i})) ans++;
	}

	return ans;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Answer is not correct.
2 Halted 0 ms 0 KB -