제출 #933717

#제출 시각아이디문제언어결과실행 시간메모리
933717Darren0724Meetings (JOI19_meetings)C++17
17 / 100
1702 ms620 KiB
#include "meetings.h" #include <bits/stdc++.h> using namespace std; void Solve(int n) { for(int i=0;i<n;i++){ for(int j=i+1;j<n;j++){ int cnt=0; for(int k=0;k<n;k++){ if(i==k||j==k)continue; int t=Query(i,j,k); if(t==i||t==j){ cnt++; } } if(cnt==n-2){ Bridge(i,j); } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...