Submission #319463

#TimeUsernameProblemLanguageResultExecution timeMemory
319463shaf_wa_nurICC (CEOI16_icc)C++17
0 / 100
519 ms612 KiB
#include <bits/stdc++.h> #include "icc.h" using namespace std; void setRoad(int a, int b); int query(int size_a, int size_b, int a[], int b[]); void run(int n) { int cnt = 0; while (cnt != n - 1) { for (int x = 1; x <= n; x++) { for (int y = x + 1; y <= n; y++) { int _a[] = {x}; int _b[] = {y}; int ret = query(1, 1, _a, _b); if (ret) { cnt += 1; setRoad(x, y); } } } } }
#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...