UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#49635#256. Avictorchan1001061ms44700kbC++2.2kb2019-03-17 12:57:252019-03-17 13:40:16

answer


详细

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

Subtask #1:

score: 20
Accepted

Test #1:

score: 20
Accepted
time: 117ms
memory: 44472kb

input:

10
2 93454
4 15253
7 80864
3 66823
1 32687
4 86470
5 65903
9 51366
8 11204
3 98218

output:

4465
1295
4067
3794
2344
4282
3737
3209
930
4539

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 106ms
memory: 44472kb

input:

10
5 59986
9 11486
8 72122
7 77756
6 15673
1 83163
8 63904
5 91800
8 52799
9 64693

output:

3441
968
3919
4004
1315
4182
3674
4414
3269
3710

result:

ok 10 numbers

Subtask #2:

score: 40
Accepted

Test #3:

score: 40
Accepted
time: 53ms
memory: 44696kb

input:

10
7343451 898968165
4000460 102489213
9915097 228939173
4618877 948212148
6525931 311421381
2156217...

output:

10277482
1462613
3375389
10743796
4502450
7967936
3196250
2768080
2881507
7186248

result:

ok 10 numbers

Test #4:

score: 0
Accepted
time: 46ms
memory: 44696kb

input:

10
3512675 973353243
9101740 398302664
9082399 163013314
7827899 873578534
9903755 434625666
3701993...

output:

10915365
5550042
2420386
10081087
6154571
9358311
7687985
9235454
2578004
10747232

result:

ok 10 numbers

Test #5:

score: 0
Accepted
time: 60ms
memory: 44700kb

input:

10
3095797 822861705
3044044 276997886
4093989 771804531
9429714 120205330
2220340 817587914
2491558...

output:

9685899
4137175
9256765
1717411
9632658
8812170
3431890
9177222
8870512
9963134

result:

ok 10 numbers

Test #6:

score: 0
Accepted
time: 48ms
memory: 44700kb

input:

10
6308463 252643489
1403252 113335494
7078413 866348235
8554265 387716825
9146502 404500911
4279029...

output:

3806932
1755992
10044409
5462534
5668932
8414603
2800302
7206630
8834419
7036661

result:

ok 10 numbers

Subtask #3:

score: 40
Accepted

Test #7:

score: 40
Accepted
time: 161ms
memory: 44700kb

input:

10
77638176168 34019922628033924
23541922181 61346408008648105
94946385938 65126332081066439
8740086...

output:

91593375298882
152022743006315
163094970316975
141108715861569
187583513815724
163588024089666
13785...

result:

ok 10 numbers

Test #8:

score: 0
Accepted
time: 157ms
memory: 44696kb

input:

10
929439626878 83278729477778958
685187209980 84439837983487293
785925499030 98513394735408842
8438...

output:

194861833929225
197924945605906
225016432554991
78418388984210
217561995563089
75245408996728
179881...

result:

ok 10 numbers

Test #9:

score: 0
Accepted
time: 148ms
memory: 44700kb

input:

10
6481052419574 90893203014329215
1313721777343 33373545035085848
9744846694483 65956819992408984
7...

output:

210671356157512
89821599830228
164576183903992
70115278989434
57149599849281
35031156652238
17763034...

result:

ok 10 numbers

Test #10:

score: 0
Accepted
time: 165ms
memory: 44700kb

input:

10
35791946395615 87280553901815334
54097871847057 83361733573871230
62910945798922 5257242089510940...

output:

203454786229218
194892178010988
135766185013412
78022233979628
219693048494941
97167834462981
761623...

result:

ok 10 numbers