UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#86638#743. trafficCEM10079ms2972kbC++2.9kb2020-01-29 14:55:202020-01-29 14:55:21

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 1304kb

input:

10 10
316292
77177352 2155686
27606035 1991801
55355627 814008
26343202 1426129
76173343 2584670
388...

output:

4705

result:

ok single line: '4705'

Test #2:

score: 10
Accepted
time: 0ms
memory: 1312kb

input:

10 10
2997923
28303711 383769
88424834 779651
9351326 2290435
59060425 2457830
12180622 304874
76617...

output:

13217

result:

ok single line: '13217'

Test #3:

score: 10
Accepted
time: 17ms
memory: 2868kb

input:

498 462
1496311
42711132 2017789
61370725 1017558
64883085 805084
83043765 627274
66181567 480801
83...

output:

833022896

result:

ok single line: '833022896'

Test #4:

score: 10
Accepted
time: 2ms
memory: 1780kb

input:

95 93
2572366
68546935 603866
65195025 1632829
93932925 315080
87376686 1767011
32974237 167426
8510...

output:

915727419

result:

ok single line: '915727419'

Test #5:

score: 10
Accepted
time: 0ms
memory: 1800kb

input:

91 97
2641026
18755254 462876
71545925 1230842
32712338 2537877
75584263 2660507
18600739 1630530
32...

output:

152885563

result:

ok single line: '152885563'

Test #6:

score: 10
Accepted
time: 2ms
memory: 1788kb

input:

88 95
867947
45764 1952815
91194390 2638018
87506464 2505041
51051961 2952797
54611927 2833766
55049...

output:

919245205

result:

ok single line: '919245205'

Test #7:

score: 10
Accepted
time: 0ms
memory: 1784kb

input:

100 100
1092868
50104274 1674522
42843854 2047195
10301358 1473206
95751891 475088
58853115 2037771
...

output:

233947379

result:

ok single line: '233947379'

Test #8:

score: 10
Accepted
time: 20ms
memory: 2936kb

input:

500 493
1401421
94905571 983015
99356858 185082
50313822 2325542
73010513 2166386
98185937 1485206
3...

output:

120636294

result:

ok single line: '120636294'

Test #9:

score: 10
Accepted
time: 21ms
memory: 2972kb

input:

500 493
1309415
75546102 685600
22304020 410610
50465736 461269
69643071 736025
41450270 328683
4560...

output:

463849446

result:

ok single line: '463849446'

Test #10:

score: 10
Accepted
time: 17ms
memory: 2840kb

input:

450 500
444329
7245143 879892
96901646 1811315
74644776 565160
41744328 1597186
88190790 2375164
288...

output:

496122489

result:

ok single line: '496122489'