UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#115986#1576. 高精度求根Oliver1001754ms1744kbC++2.8kb2020-08-06 18:15:442020-08-06 18:15:46

answer


详细

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

Test #1:

score: 10
Accepted
time: 263ms
memory: 1696kb

input:

20
3449796354705745606541521161887587670300510510699796990967145496275168084556380798039707015801926...

output:

7531642075316420753164207531642075316420753164207531642075316420753164207531642075316420753164207531...

result:

ok single line: '753164207531642075316420753164...5316420753164207531642075316420'

Test #2:

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

input:

4
531441

output:

27

result:

ok single line: '27'

Test #3:

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

input:

10
81875053535672092282440524277760103040708

output:

12340

result:

ok single line: '12340'

Test #4:

score: 10
Accepted
time: 408ms
memory: 1600kb

input:

5
10000000500000015000000350000007000000126000002100000033000000495000007150000100100001365000018200...

output:

1000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000...

result:

ok single line: '100000001000000010000000100000...0000001000000010000000100000001'

Test #5:

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

input:

5
0

output:

0

result:

ok single line: '0'

Test #6:

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

input:

5
6240321450

output:

90

result:

ok single line: '90'

Test #7:

score: 10
Accepted
time: 714ms
memory: 1720kb

input:

50
1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok single line: '100000000000000000000000000000...0000000000000000000000000000000'

Test #8:

score: 10
Accepted
time: 224ms
memory: 1648kb

input:

15
1324893204873214632196341324893204873214632196341324893204873214632196341324893204873214632196341...

output:

2559442584289271088718347817503749890163753722250201940937566353493741670245816745664546974885090278...

result:

ok single line: '255944258428927108871834781750...7360973456648262881118714871206'

Test #9:

score: 10
Accepted
time: 3ms
memory: 1680kb

input:

20
3486828599745191550327799796855774113488475049373314580870543316770355201751528303325035759624079...

output:

30000019014

result:

ok single line: '30000019014'

Test #10:

score: 10
Accepted
time: 140ms
memory: 1744kb

input:

50
3764726416958295942686221289884519846479517374426565579478086984045081648899773783523195733634895...

output:

1234567012345670123456701234567012345670123456701234567012345670123456701234567

result:

ok single line: '123456701234567012345670123456...1234567012345670123456701234567'