Submission #882315

#TimeUsernameProblemLanguageResultExecution timeMemory
882315ono_de206ICC (CEOI16_icc)C++14
7 / 100
231 ms612 KiB
#include "icc.h" #include <bits/stdc++.h> using namespace std; #include<bits/stdc++.h> using namespace std; #define in insert #define all(x) x.begin(),x.end() #define pb push_back #define eb emplace_back #define ff first #define ss second //#define int long long typedef long long ll; typedef vector<int> vi; typedef set<int> si; typedef multiset<int> msi; typedef pair<int, int> pii; typedef vector<pii> vpii; void run(int n) { int A[n + 1], B[n + 1]; for(int t = 1; t < n; t++) { bool fl = 1; for(int i = 1; i <= n && fl; i++) { for(int j = i + 1; j <= n && fl; j++) { A[0] = i; B[0] = j; if(query(1, 1, A, B)) { setRoad(i, j); fl = 0; } } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...