QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#94761#5359. 面国建设dcmfqw49 1731ms5376kbC++141.3kb2023-04-07 17:53:582023-04-07 17:54:42

詳細信息

Subtask #1:

score: 6
Accepted

Test #1:

score: 6
Accepted
time: 1ms
memory: 1456kb

input:

4 10

output:

7

result:

ok single line: '7'

Test #2:

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

input:

7 2

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 1ms
memory: 1704kb

input:

6 6

output:

2

result:

ok single line: '2'

Test #4:

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

input:

10 7

output:

2

result:

ok single line: '2'

Test #5:

score: 0
Accepted
time: 1ms
memory: 1748kb

input:

8 10

output:

8

result:

ok single line: '8'

Test #6:

score: 0
Accepted
time: 1ms
memory: 3260kb

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: 12ms
memory: 3312kb

input:

399 994

output:

125266

result:

ok single line: '125266'

Test #8:

score: 0
Accepted
time: 27ms
memory: 5332kb

input:

742 645

output:

184225

result:

ok single line: '184225'

Test #9:

score: 0
Accepted
time: 50ms
memory: 1700kb

input:

932 900

output:

328424

result:

ok single line: '328424'

Test #10:

score: 0
Accepted
time: 52ms
memory: 1500kb

input:

943 971

output:

357500

result:

ok single line: '357500'

Test #11:

score: 0
Accepted
time: 56ms
memory: 5356kb

input:

955 897

output:

335817

result:

ok single line: '335817'

Test #12:

score: 0
Accepted
time: 49ms
memory: 3252kb

input:

903 971

output:

340678

result:

ok single line: '340678'

Test #13:

score: 0
Accepted
time: 49ms
memory: 1408kb

input:

954 978

output:

364964

result:

ok single line: '364964'

Test #14:

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

input:

908 902

output:

319849

result:

ok single line: '319849'

Test #15:

score: 0
Accepted
time: 52ms
memory: 3304kb

input:

934 908

output:

332030

result:

ok single line: '332030'

Test #16:

score: 0
Accepted
time: 54ms
memory: 1460kb

input:

961 924

output:

348391

result:

ok single line: '348391'

Subtask #3:

score: 31
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #17:

score: 31
Accepted
time: 238ms
memory: 1748kb

input:

1951 2977

output:

2228950

result:

ok single line: '2228950'

Test #18:

score: 0
Accepted
time: 1117ms
memory: 1748kb

input:

4626 5415

output:

10254469

result:

ok single line: '10254469'

Test #19:

score: 0
Accepted
time: 1731ms
memory: 3664kb

input:

5983 4766

output:

12197679

result:

ok single line: '12197679'

Test #20:

score: 0
Accepted
time: 1309ms
memory: 1764kb

input:

5094 5425

output:

11472637

result:

ok single line: '11472637'

Test #21:

score: 0
Accepted
time: 1540ms
memory: 1748kb

input:

5598 4989

output:

11826716

result:

ok single line: '11826716'

Test #22:

score: 0
Accepted
time: 1527ms
memory: 3592kb

input:

5577 5188

output:

12208146

result:

ok single line: '12208146'

Test #23:

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

input:

5688 5804

output:

13807758

result:

ok single line: '13807758'

Test #24:

score: 0
Accepted
time: 1673ms
memory: 5376kb

input:

5856 5309

output:

13161066

result:

ok single line: '13161066'

Test #25:

score: 0
Accepted
time: 1435ms
memory: 1748kb

input:

5378 5859

output:

13061554

result:

ok single line: '13061554'

Test #26:

score: 0
Accepted
time: 1607ms
memory: 1764kb

input:

5729 5635

output:

13554877

result:

ok single line: '13554877'

Subtask #4:

score: 0
Time Limit Exceeded

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Test #27:

score: 0
Time Limit Exceeded

input:

177004 361104

output:


result: