UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#91863#1415. 宠物收养所YaoXX100290ms1712kbC++112.8kb2020-02-15 20:57:202020-02-15 20:57:21

answer


详细

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

Test #1:

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

input:

20
0 586192
0 154341
0 882473
0 822823
0 516300
1 558644
1 127842
1 575969
1 787407
1 236357
1 46144...

output:

493821

result:

ok single line: '493821'

Test #2:

score: 10
Accepted
time: 56ms
memory: 1708kb

input:

80000
0 12
0 26
0 38
0 49
0 52
0 64
0 70
0 89
0 99
0 100
0 114
0 124
0 139
0 145
0 153
0 167
0 176
0...

output:

910347

result:

ok single line: '910347'

Test #3:

score: 10
Accepted
time: 1ms
memory: 1244kb

input:

1000
0 27867396
0 98749190
0 96465999
0 65082911
0 65103952
0 25848695
0 39019295
0 96958260
0 39422...

output:

143602

result:

ok single line: '143602'

Test #4:

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

input:

4000
0 174
0 221
0 372
0 443
0 529
0 653
0 736
0 893
0 942
0 1061
0 1115
0 1214
0 1380
0 1478
0 1558...

output:

2366

result:

ok single line: '2366'

Test #5:

score: 10
Accepted
time: 6ms
memory: 1356kb

input:

10000
0 128
0 212
0 337
0 449
0 591
0 661
0 700
0 832
0 937
0 1083
0 1175
0 1273
0 1329
0 1442
0 150...

output:

4229

result:

ok single line: '4229'

Test #6:

score: 10
Accepted
time: 31ms
memory: 1708kb

input:

40000
0 3999913
0 3999884
0 3999703
0 3999667
0 3999549
0 3999447
0 3999332
0 3999297
0 3999180
0 39...

output:

994263

result:

ok single line: '994263'

Test #7:

score: 10
Accepted
time: 30ms
memory: 1712kb

input:

40000
0 100
0 200
0 300
0 400
0 500
0 600
0 700
0 800
0 900
0 1000
0 1100
0 1200
0 1300
0 1400
0 150...

output:

30000

result:

ok single line: '30000'

Test #8:

score: 10
Accepted
time: 54ms
memory: 1708kb

input:

80000
0 100
0 200
0 300
0 400
0 500
0 600
0 700
0 800
0 900
0 1000
0 1100
0 1200
0 1300
0 1400
0 150...

output:

30000

result:

ok single line: '30000'

Test #9:

score: 10
Accepted
time: 54ms
memory: 1712kb

input:

80000
0 79999
0 79998
0 79997
0 79996
0 79995
0 79994
0 79993
0 79992
0 79991
0 79990
0 79989
0 7998...

output:

0

result:

ok single line: '0'

Test #10:

score: 10
Accepted
time: 58ms
memory: 1708kb

input:

80000
0 100007
0 99994
0 99983
0 99973
0 99968
0 99950
0 99949
0 99935
0 99922
0 99916
0 99906
0 998...

output:

900239

result:

ok single line: '900239'