제출 #946879

#제출 시각아이디문제언어결과실행 시간메모리
946879penguin133Meetings (JOI19_meetings)C++17
17 / 100
1683 ms624 KiB
#include <bits/stdc++.h> using namespace std; //#define int long long #define pi pair<int, int> #define pii pair<int, pi> #define fi first #define se second #ifdef _WIN32 #define getchar_unlocked _getchar_nolock #endif mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count()); #include "meetings.h" void Solve(int N) { for(int i = 0; i < N; i++){ for(int j = i + 1; j < N; j++){ bool f = 1; for(int k = 0; k < N; k++){ if(k == i || k == j)continue; if(Query(i, j, k) == k)f = 0; } if(f)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...