QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#276909#5073. Elden RingliangbowenWA 163ms7776kbC++142.6kb2023-12-06 12:44:042023-12-06 12:44:04

詳細信息

Test #1:

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

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: 163ms
memory: 7768kb

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
-1
-1
18

----------------------------------------------------------
8 -1 174605 167971
1 3
1 8
1 3
1 2
2 6
2 4
2 1
3 1
3 1
3 4
4 7
4 2
4 5
4 3
5 4
6 2
7 4
7 8
8 1
8 7
72334 16677 53090 116117 88613 35501 59956 12437 
---------------------------------------...

result:

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