제출 #627248

#제출 시각아이디문제언어결과실행 시간메모리
627248model_code드문 곤충 (IOI22_insects)C++17
10 / 100
483 ms332 KiB
// protocol_violation/solution-subtask-1.cpp #include "insects.h" #include <bits/stdc++.h> using namespace std; int min_cardinality(int N) { int ans = N; for (int i = 0; i < N; i++) { int cnt = 1; move_inside(i); for (int j = 0; j < N; j++) { if (i != j) { move_inside(j); if (press_button() == 2) { cnt++; } move_outside(j); } } move_outside(i); ans = min(ans,cnt); } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...