QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#119691#2616. Attack Orderillume2021WA 1ms3464kbC++172.1kb2023-07-05 14:54:152023-07-05 14:54:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3464kb

input:

3
2
15 25
10 5
3
7 0
7 3
10 0
3
10 10
20 20
30 30

output:

-1
31
12 11
14 13
16 15
18 17
20 19
22 21
24 23
25 1
25 2
25 3
25 4
25 5
25 6
25 7
25 8
25 9
25 10
25 11
25 12
25 13
25 14
25 15
25 16
25 17
25 18
25 19
25 20
25 21
25 22
25 23
25 24
-1

result:

wrong output format YES or NO expected, but -1 found [1st token]