Submission #405270

#TimeUsernameProblemLanguageResultExecution timeMemory
405270balbitCounting Mushrooms (IOI20_mushrooms)C++14
0 / 100
1 ms200 KiB
#include "mushrooms.h"
using namespace std;
int count_mushrooms(int n) {
	std::vector<int> m;
	int re = 0;
	for (int i = 1; i < n; i++) {
		if (use_machine({0,i})) re++;

	}
	return re;
}
#Verdict Execution timeMemoryGrader output
Fetching results...