UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#56100#377. matrixchenghao911100471ms17408kbC++961b2019-05-05 14:47:372019-05-05 14:47:37

answer


详细

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

Test #1:

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

input:

1 1

output:

1

result:

ok single line: '1'

Test #2:

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

input:

35 40

output:

658008

result:

ok single line: '658008'

Test #3:

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

input:

8741 1233

output:

55824323876147742561436717301486175284172627858560

result:

ok single line: '55824323876147742561436717301486175284172627858560'

Test #4:

score: 10
Accepted
time: 12ms
memory: 2616kb

input:

12345 87654

output:

2492403846061776294478500221329637072659268500000

result:

ok single line: '2492403846061776294478500221329637072659268500000'

Test #5:

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

input:

745 87

output:

12506135831674488008096479020661261375889965646680

result:

ok single line: '12506135831674488008096479020661261375889965646680'

Test #6:

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

input:

9999 8777

output:

3917583009000422181335606774778075500830136632860

result:

ok single line: '3917583009000422181335606774778075500830136632860'

Test #7:

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

input:

30 29

output:

30

result:

ok single line: '30'

Test #8:

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

input:

10 10

output:

1

result:

ok single line: '1'

Test #9:

score: 10
Accepted
time: 223ms
memory: 17408kb

input:

1000000 500001

output:

66358485157761976542506175359403467008675392000000

result:

ok single line: '66358485157761976542506175359403467008675392000000'

Test #10:

score: 10
Accepted
time: 230ms
memory: 17408kb

input:

777741 999983

output:

63498948908656418354002069485399204074172941280000

result:

ok single line: '63498948908656418354002069485399204074172941280000'