제출 #672005

#제출 시각아이디문제언어결과실행 시간메모리
672005Waratpp123드문 곤충 (IOI22_insects)C++17
10 / 100
356 ms208 KiB
#include "insects.h" #include<bits/stdc++.h> using namespace std; int cnt[2050],mi=2050; int min_cardinality(int N) { int i,j; for(i=0;i<N;i++){ move_inside(i); for(j=0;j<N;j++){ if(j==i) continue; move_inside(j); if(press_button()==2) cnt[i]++; move_outside(j); } move_outside(i); mi=min(mi,cnt[i]); } return mi+1; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...