Submission #576122

#TimeUsernameProblemLanguageResultExecution timeMemory
576122urd05Park (JOI17_park)C++17
10 / 100
12 ms340 KiB
#include "park.h" #include <bits/stdc++.h> using namespace std; int place[1400]; void Detect(int t,int n) { if (t==1) { for(int i=0;i<n;i++) { for(int j=i+1;j<n;j++) { for(int k=0;k<n;k++) { if (k==i||k==j) { place[k]=1; } else { place[k]=0; } } if (Ask(i,j,place)==1) { Answer(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...
#Verdict Execution timeMemoryGrader output
Fetching results...