Submission #1362859

#TimeUsernameProblemLanguageResultExecution timeMemory
1362859cowkimCounting Mushrooms (IOI20_mushrooms)C++20
10 / 100
36 ms400 KiB
#include "mushrooms.h"

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