QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#618383#7012. Rikka with An Unnamed Templeucup-team4744WA 10247ms15864kbC++144.2kb2024-10-06 21:38:492024-10-06 21:38:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

-1
8 1
-1
-1

result:

ok 4 lines

Test #2:

score: -100
Wrong Answer
time: 10247ms
memory: 15864kb

input:

840
300 2000
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1...

output:

-1
26 2272582
26 2398065
26 2586899
26 3590911
26 5016036
26 2106668
26 5885768
26 2604267
26 4180233
26 4234700
26 2772046
26 3538439
26 5885768
26 4433551
26 3653641
26 4963374
26 4478508
26 5246005
26 5331872
26 5549866
26 4797990
26 5545450
26 5102761
26 4052410
26 5885038
26 4702035
26 3888610
...

result:

wrong answer 2nd lines differ - expected: '26 4598303', found: '26 2272582'