Submission #1210058

#TimeUsernameProblemLanguageResultExecution timeMemory
1210058avahw버섯 세기 (IOI20_mushrooms)C++20
0 / 100
0 ms408 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; }
#Verdict Execution timeMemoryGrader output
Fetching results...