UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#48474#253. Amathematician100929ms9032kbC++1022b2019-03-16 09:03:192019-03-16 13:05:14

answer


详细

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

Subtask #1:

score: 10
Accepted

Test #1:

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

input:

10 10
8 4

output:

656696293

result:

ok 1 number(s): "656696293"

Subtask #2:

score: 40
Accepted

Test #2:

score: 40
Accepted
time: 0ms
memory: 1416kb

input:

50 50
40 6

output:

430052527

result:

ok 1 number(s): "430052527"

Test #3:

score: 0
Accepted
time: 0ms
memory: 1412kb

input:

50 50
9 37

output:

638578778

result:

ok 1 number(s): "638578778"

Test #4:

score: 0
Accepted
time: 0ms
memory: 1416kb

input:

50 50
45 46

output:

418788105

result:

ok 1 number(s): "418788105"

Test #5:

score: 0
Accepted
time: 0ms
memory: 1412kb

input:

50 50
26 14

output:

904916429

result:

ok 1 number(s): "904916429"

Subtask #3:

score: 50
Accepted

Test #6:

score: 50
Accepted
time: 181ms
memory: 9028kb

input:

1000 1000
214 580

output:

692003450

result:

ok 1 number(s): "692003450"

Test #7:

score: 0
Accepted
time: 183ms
memory: 9028kb

input:

1000 1000
906 677

output:

28063255

result:

ok 1 number(s): "28063255"

Test #8:

score: 0
Accepted
time: 188ms
memory: 9028kb

input:

1000 1000
872 80

output:

888213075

result:

ok 1 number(s): "888213075"

Test #9:

score: 0
Accepted
time: 191ms
memory: 9032kb

input:

1000 1000
628 648

output:

857412803

result:

ok 1 number(s): "857412803"

Test #10:

score: 0
Accepted
time: 186ms
memory: 9032kb

input:

1000 1000
835 846

output:

131032353

result:

ok 1 number(s): "131032353"