QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#76346#5359. 面国建设Qiuly18 1851ms5800kbC++141.2kb2023-02-09 10:53:482023-02-09 10:53:51

詳細信息

Subtask #1:

score: 6
Accepted

Test #1:

score: 6
Accepted
time: 2ms
memory: 3516kb

input:

4 10

output:

7

result:

ok single line: '7'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3512kb

input:

7 2

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3492kb

input:

6 6

output:

2

result:

ok single line: '2'

Test #4:

score: 0
Accepted
time: 2ms
memory: 3672kb

input:

10 7

output:

2

result:

ok single line: '2'

Test #5:

score: 0
Accepted
time: 2ms
memory: 3672kb

input:

8 10

output:

8

result:

ok single line: '8'

Test #6:

score: 0
Accepted
time: 2ms
memory: 3472kb

input:

10 8

output:

5

result:

ok single line: '5'

Subtask #2:

score: 12
Accepted

Dependency #1:

100%
Accepted

Test #7:

score: 12
Accepted
time: 3ms
memory: 3692kb

input:

399 994

output:

125266

result:

ok single line: '125266'

Test #8:

score: 0
Accepted
time: 21ms
memory: 3836kb

input:

742 645

output:

184225

result:

ok single line: '184225'

Test #9:

score: 0
Accepted
time: 43ms
memory: 3952kb

input:

932 900

output:

328424

result:

ok single line: '328424'

Test #10:

score: 0
Accepted
time: 42ms
memory: 4140kb

input:

943 971

output:

357500

result:

ok single line: '357500'

Test #11:

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

input:

955 897

output:

335817

result:

ok single line: '335817'

Test #12:

score: 0
Accepted
time: 38ms
memory: 3996kb

input:

903 971

output:

340678

result:

ok single line: '340678'

Test #13:

score: 0
Accepted
time: 47ms
memory: 3964kb

input:

954 978

output:

364964

result:

ok single line: '364964'

Test #14:

score: 0
Accepted
time: 42ms
memory: 4116kb

input:

908 902

output:

319849

result:

ok single line: '319849'

Test #15:

score: 0
Accepted
time: 45ms
memory: 3984kb

input:

934 908

output:

332030

result:

ok single line: '332030'

Test #16:

score: 0
Accepted
time: 44ms
memory: 4212kb

input:

961 924

output:

348391

result:

ok single line: '348391'

Subtask #3:

score: 0
Time Limit Exceeded

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #17:

score: 31
Accepted
time: 264ms
memory: 4468kb

input:

1951 2977

output:

2228950

result:

ok single line: '2228950'

Test #18:

score: 0
Accepted
time: 1851ms
memory: 5800kb

input:

4626 5415

output:

10254469

result:

ok single line: '10254469'

Test #19:

score: -31
Time Limit Exceeded

input:

5983 4766

output:


result:


Subtask #4:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%