QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#220197#943. Dynamic DiameterZhangYiDe0 1884ms332820kbC++207.3kb2023-10-19 23:19:272023-10-19 23:19:28

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 22580kb

input:

10 100 10000
3 4 115
4 7 2757
1 5 5809
8 5 1111
6 2 7043
6 5 4932
6 4 4171
9 5 8499
10 5 2395
1 3517
8 7196
1 8064
6 7437
6 2421
8 67
7 6695
3 1217
1 920
1 1786
4 2541
5 266
4 6167
0 7590
6 195
8 4087
2 8073
6 8065
5 2882
2 3292
4 3435
6 8447
8 3419
0 9545
1 7922
0 4088
8 2546
4 7071
1 722
6 9178
0 ...

output:

21119
21746
23057
18619
18309
18309
19479
18309
19533
18309
18186
18262
19939
21768
20410
22382
20410
21356
17833
17119
13244
7187
4529
6469
8465
8524
9139
10958
11513
9377
9567
8338
8034
5923
5027
2900
2285
2068
1882
1945
2775
4745
4710
5813
7516
5813
4710
5561
6651
8019
9192
9658
8822
7818
5647
53...

result:

wrong output format Extra information in the output file

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #27:

score: 0
Wrong Answer
time: 4ms
memory: 22696kb

input:

20 20 10000
1 2 835
1 3 57
1 4 1883
1 5 1349
1 6 1543
1 7 688
1 8 272
1 9 744
1 10 569
1 11 1019
1 12 201
1 13 1228
1 14 1194
1 15 1123
1 16 48
1 17 164
1 18 893
1 19 963
1 20 818
6 1
0 7412
10 6575
15 6696
0 7412
4 8318
18 7563
15 7502
1 7668
13 7859
14 8045
2 7969
12 8159
11 8040
2 8168
12 8192
0 ...

output:

3426
3426
3426
2892
2577
2577
2543
2472
2142
2142
2086
2018
1961
1961
1958
1653
1562
1432
1432
1064
Time elapsed: 0.002774 s.

result:

wrong output format Extra information in the output file

Subtask #4:

score: 0
Wrong Answer

Test #48:

score: 0
Wrong Answer
time: 3ms
memory: 24860kb

input:

1000 1000 10000
1 2 503
1 3 889
2 4 6
2 5 1468
3 6 102
3 7 464
4 8 658
4 9 1642
5 10 1956
5 11 420
6 12 1287
6 13 1051
7 14 48
7 15 678
8 16 1662
8 17 906
9 18 432
9 19 124
10 20 71
10 21 1624
11 22 268
11 23 1776
12 24 404
12 25 967
13 26 658
13 27 815
14 28 1196
14 29 1920
15 30 865
15 31 1227
16 ...

output:

24077
24129
24073
24255
24248
24175
24175
24175
23680
22461
22205
21721
21721
21710
21624
21372
21320
21300
21300
21300
21266
21204
21067
19844
19844
19607
20014
19601
19515
19261
19244
19191
19166
19166
19107
19107
19107
19074
19074
19071
19071
19071
19082
19071
19013
18375
18200
19061
19061
19061
...

result:

wrong output format Extra information in the output file

Subtask #5:

score: 0
Wrong Answer

Test #65:

score: 0
Wrong Answer
time: 1884ms
memory: 332820kb

input:

100000 100000 20000000000000
36784 60773 140153248
61611 56014 4384507
39699 81699 3960320
64081 33880 136970044
38189 43550 67958946
16177 77482 151567728
90206 77109 108497900
42376 92541 75503161
10148 21587 195080992
11109 80580 11975495
8506 81405 144971319
85501 69547 59675956
72008 46890 3423...

output:

20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
20075213641185
...

result:

wrong output format Extra information in the output file

Subtask #6:

score: 0
Skipped

Dependency #1:

0%