Submission #70693

#TimeUsernameProblemLanguageResultExecution timeMemory
70693Just_Solve_The_ProblemPark (JOI17_park)C++11
10 / 100
13 ms856 KiB
#include <bits/stdc++.h> #include "park.h" using namespace std; static int Place[1400]; int n; void solve1() { for (int i = 0; i < n; i++) { for (int j = i + 1; j < n; j++) { Place[i] = Place[j] = 1; if (Ask(i, j, Place)) { Answer(i, j); } Place[i] = Place[j] = 0; } } } void Detect(int T, int N) { n = N; if (T == 1) { solve1(); } else if (T == 2) { } else { } }
#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...