UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#125483#1576. 高精度求根Mars1001668ms1720kbC++2.8kb2021-01-10 11:28:012021-01-10 11:28:03

answer


详细

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

Test #1:

score: 10
Accepted
time: 242ms
memory: 1664kb

input:

20
3449796354705745606541521161887587670300510510699796990967145496275168084556380798039707015801926...

output:

7531642075316420753164207531642075316420753164207531642075316420753164207531642075316420753164207531...

result:

ok single line: '753164207531642075316420753164...5316420753164207531642075316420'

Test #2:

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

input:

4
531441

output:

27

result:

ok single line: '27'

Test #3:

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

input:

10
81875053535672092282440524277760103040708

output:

12340

result:

ok single line: '12340'

Test #4:

score: 10
Accepted
time: 421ms
memory: 1572kb

input:

5
10000000500000015000000350000007000000126000002100000033000000495000007150000100100001365000018200...

output:

1000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000...

result:

ok single line: '100000001000000010000000100000...0000001000000010000000100000001'

Test #5:

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

input:

5
0

output:

0

result:

ok single line: '0'

Test #6:

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

input:

5
6240321450

output:

90

result:

ok single line: '90'

Test #7:

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

input:

50
1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok single line: '100000000000000000000000000000...0000000000000000000000000000000'

Test #8:

score: 10
Accepted
time: 204ms
memory: 1616kb

input:

15
1324893204873214632196341324893204873214632196341324893204873214632196341324893204873214632196341...

output:

2559442584289271088718347817503749890163753722250201940937566353493741670245816745664546974885090278...

result:

ok single line: '255944258428927108871834781750...7360973456648262881118714871206'

Test #9:

score: 10
Accepted
time: 7ms
memory: 1652kb

input:

20
3486828599745191550327799796855774113488475049373314580870543316770355201751528303325035759624079...

output:

30000019014

result:

ok single line: '30000019014'

Test #10:

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

input:

50
3764726416958295942686221289884519846479517374426565579478086984045081648899773783523195733634895...

output:

1234567012345670123456701234567012345670123456701234567012345670123456701234567

result:

ok single line: '123456701234567012345670123456...1234567012345670123456701234567'