Submission #704294

# Submission time Handle Problem Language Result Execution time Memory
704294 2023-03-02T03:09:54 Z Tuanlinh123 Park (JOI17_park) C++17
10 / 100
6 ms 340 KB
#include<bits/stdc++.h>
#define ll int
#include "park.h"
using namespace std;

ll Place[1400];

void Detect(int T, int N)
{
	if (T==1)
    {
        for (ll a=0; a<N; a++)
            for (ll b=a+1; b<N; b++)
            {
                Place[a]=1; Place[b]=1;
                if (Ask(a, b, Place))
                    Answer(a, b);
                Place[a]=0; Place[b]=0;
            }
    }
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 4 ms 212 KB Output is correct
3 Correct 4 ms 212 KB Output is correct
4 Correct 6 ms 336 KB Output is correct
5 Correct 5 ms 340 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 340 KB Wrong Answer[6]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 320 KB Wrong Answer[6]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 340 KB Wrong Answer[6]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 340 KB Wrong Answer[6]
2 Halted 0 ms 0 KB -