QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#364575#5073. Elden RingGuanYunchangWA 2861ms9516kbC++201.7kb2024-03-24 15:22:542024-03-24 15:22:55

详细

Test #1:

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

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: 2861ms
memory: 9516kb

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:

4
-1
13
4
-1
1
1
6
2
-1
3
1
2
4
-1
8
-1
5
-1
-1
-1
3
-1
2
-1
7
-1
-1
1
-1
10
-1
-1
4
8
118
-1
-1
-1
8
9
8
-1
2
-1
-1
-1
40
-1
11
-1
-1
9
2
14
3
-1
2
9
-1
9
-1
-1
66
1
2
-1
-1
-1
15
32
26
-1
3
-1
-1
-1
3
1
10
-1
-1
-1
1
1
8
-1
6
1
-1
1
13
-1
-1
-1
-1
-1
6
8
-1
-1
-1
1
-1
-1
-1
-1
-1
-1
-1
-1
5
-1
6
-...

result:

wrong answer 1st numbers differ - expected: '-1', found: '4'