QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#124919#5073. Elden RingHuangHanShengWA 211ms8636kbC++111.7kb2023-07-15 18:48:442023-07-15 18:48:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
5 4 5 8
1 2
1 3
1 4
4 5
15 1 1 1 1
5 4 10 5
1 2
1 3
1 4
4 5
10 4 4 4 19

output:

2
4

result:

ok 2 number(s): "2 4"

Test #2:

score: -100
Wrong Answer
time: 211ms
memory: 8636kb

input:

100000
6 10 107812 105568
6 5
3 6
4 6
4 2
5 1
5 6
4 5
1 3
1 2
2 5
124065 140875 29890 80077 116532 35394
9 10 82107 88302
1 2
2 3
5 3
5 1
1 4
9 6
3 5
8 2
5 6
7 5
22670 3735 33660 92823 139960 89319 83335 158330 117349
6 10 181257 173221
5 3
3 4
3 1
5 1
2 1
3 6
3 1
6 2
3 6
4 3
76902 46253 123092 2661...

output:

-1
-1
-1
2-1
-1
-1
32-1
-1
-1
-1
-1
-1
-1
3-1
-1
-1
-1
-1
-1
-1
-1
-1
9-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
4-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
4-1
215-1
-1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
46-1
-1
-1
1
1
-1
-1
3-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
5-1
-1
-1
2-1
-1
-1
-1
-1
...

result:

wrong output format Expected integer, but "2-1" found