QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#658523#7011. Rikka with Sorting NetworksZhaoZiLongWA 31ms3680kbC++202.5kb2024-10-19 16:58:442024-10-19 16:58:45

詳細信息

Test #1:

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

input:

4
4 0 998244353
4 1 998244353
1 2
4 3 998244353
1 2
2 3
1 2
4 6 998244353
1 2
2 3
1 2
3 4
2 3
1 2

output:

10
14
24
24

result:

ok 4 lines

Test #2:

score: -100
Wrong Answer
time: 31ms
memory: 3568kb

input:

100
14 0 332974091
7 0 860384617
38 0 721801273
20 0 905563207
15 0 665595113
19 0 315971339
37 10 381449743
20 25
20 25
20 25
20 25
20 25
20 25
20 25
20 25
20 25
20 25
33 7 891399043
7 17
6 16
25 32
25 31
16 25
25 32
17 30
35 0 134186387
43 4 344440849
14 26
26 29
14 26
14 29
44 3 520502371
5 8
5 8...

output:

170
37
1370
362
197
325
2528
72288
1157
10152
3606
6160
2478
1287
785
5496
1426
2422
628
10810
2530
27380
4194
5922
39472
842
12240
4038
1530
362
948
1988
2123
7171
9594
10294
1765
9396
152
4314
1757
102
13875
1766
132
2026
89
78842
102
4186
1342
4668
3472
3519
3484
848
2210
1888
326
1212
1670
1578
...

result:

wrong answer 11th lines differ - expected: '3616', found: '3606'