QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#364602#5073. Elden RingGuanYunchangWA 152ms8000kbC++201.7kb2024-03-24 15:35:252024-03-24 15:35:28

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 7944kb

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: 152ms
memory: 8000kb

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
1
-1
-1
-1
-1
-1
-1
1
-1
-1
-1
-1
21
-1
17
-1
-1
-1
1
-1
-1
-1
8
-1
-1
21
-1
27
-1
-1
46
-1
-1
-1
-1
-1
-1
25
17
-1
-1
-1
-1
-1
-1
-1
19
-1
-1
25
-1
26
2
-1
-1
3
-1
1
-1
-1
254
1
-1
-1
-1
-1
-1
79
58
-1
29
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
-1
-1
-1
-1
-1
-1
45
-1
-1
-1
-1
-1
2
-1
-1
-1
-1
6
-1...

result:

wrong answer 16th numbers differ - expected: '-1', found: '21'