QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#258136#7800. Every QueenwaifuSenpai#WA 0ms3820kbC++203.5kb2023-11-19 15:29:152023-11-19 15:29:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3612kb

input:

3
2
1 1
2 2
4
0 1
1 0
3 1
4 0
5
0 1
1 0
1 2
2 2
4 2

output:

YES
1 3
NO
YES
-1 2

result:

ok OK (3 test cases)

Test #2:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

1
4
-100000000 -100000000
100000000 -100000000
-100000000 100000000
100000000 100000000

output:

YES
-100000000 100000000

result:

ok OK (1 test case)

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3820kb

input:

330
3
5 1
-3 -5
-2 2
2
1 4
4 0
4
2 -5
3 -3
-5 4
2 -2
2
-4 1
2 4
1
1 5
4
3 5
-2 3
5 2
-3 -3
5
-3 -4
2 -1
-2 -2
1 0
-1 -5
5
4 -3
-2 -4
2 2
0 -5
-4 -3
4
0 0
-3 -5
0 5
5 0
1
1 -1
5
0 2
3 4
1 4
4 5
5 0
3
-4 -5
-5 -3
5 -5
3
-1 2
-4 -4
-1 5
4
1 1
4 5
-1 0
5 2
1
-3 2
5
5 0
4 1
-3 -5
3 -3
0 0
5
0 1
-5 4
-5 5...

output:

YES
4 2
YES
1 3
YES
2 -3
YES
-4 10
YES
1 5
NO
NO
NO
YES
0 -5
YES
1 -1
NO
YES
-3 -5
YES
-1 -7
YES
1 2
YES
-3 2
NO
YES
-5 -4
YES
-3 7
YES
-5 -4
YES
-2 0
NO
YES
2 0
YES
0 -1
YES
5 1
YES
0 -1
YES
1 5
YES
-5 -2
YES
4 6
NO
YES
5 -4
NO
YES
4 0
YES
3 5
YES
-1 3
YES
-5 1
NO
NO
YES
3 -3
YES
2 0
YES
1 -4
YES
-...

result:

wrong answer Queen (5, 0) does not attack square (0, -4) (test case 58)