| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 | 
|---|---|---|---|---|---|---|---|
| 1210061 | avahw | Counting Mushrooms (IOI20_mushrooms) | C++20 | 0 ms | 404 KiB | 
#include "mushrooms.h"
int count_mushrooms(int n) {
	std::vector<int> m;
	for (int i = 0; i < n; i++)
		m.push_back(i);
	int total = 0;
	// mushroom 0 is of type a
	for(int i = 1; i < n; i++){
		// test every mushroom against mushroom 0
		total += use_machine({0, i});
	}
	return total + 1;
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
