QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#147544#511. Differenceleovl48#AC ✓229ms28004kbC++173.2kb2023-08-23 13:15:212023-08-25 01:39:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 27700kb

input:

1 5

output:

4

result:

ok single line: '4'

Test #2:

score: 0
Accepted
time: 5ms
memory: 27620kb

input:

1 12

output:

4

result:

ok single line: '4'

Test #3:

score: 0
Accepted
time: 5ms
memory: 27432kb

input:

5 1

output:

2

result:

ok single line: '2'

Test #4:

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

input:

1 1

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 3ms
memory: 27672kb

input:

1 100

output:

42

result:

ok single line: '42'

Test #6:

score: 0
Accepted
time: 227ms
memory: 27852kb

input:

1 39129

output:

10000

result:

ok single line: '10000'

Test #7:

score: 0
Accepted
time: 227ms
memory: 27852kb

input:

1 99984544

output:

10000

result:

ok single line: '10000'

Test #8:

score: 0
Accepted
time: 222ms
memory: 27788kb

input:

1 188286782

output:

10000

result:

ok single line: '10000'

Test #9:

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

input:

100 1

output:

2

result:

ok single line: '2'

Test #10:

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

input:

100 100

output:

1

result:

ok single line: '1'

Test #11:

score: 0
Accepted
time: 227ms
memory: 27960kb

input:

100 38961

output:

10000

result:

ok single line: '10000'

Test #12:

score: 0
Accepted
time: 229ms
memory: 27860kb

input:

100 99940474

output:

10000

result:

ok single line: '10000'

Test #13:

score: 0
Accepted
time: 224ms
memory: 27960kb

input:

100 186474736

output:

10000

result:

ok single line: '10000'

Test #14:

score: 0
Accepted
time: 18ms
memory: 27688kb

input:

92 11942

output:

3390

result:

ok single line: '3390'

Test #15:

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

input:

10 12050

output:

170

result:

ok single line: '170'

Test #16:

score: 0
Accepted
time: 3ms
memory: 27544kb

input:

97 177304

output:

668

result:

ok single line: '668'

Test #17:

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

input:

55 2943751

output:

3653

result:

ok single line: '3653'

Test #18:

score: 0
Accepted
time: 6ms
memory: 27656kb

input:

64 4643557

output:

1932

result:

ok single line: '1932'

Test #19:

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

input:

20 13108321

output:

2861

result:

ok single line: '2861'

Test #20:

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

input:

95 4026722

output:

4391

result:

ok single line: '4391'

Test #21:

score: 0
Accepted
time: 4ms
memory: 27692kb

input:

77 3040555

output:

1407

result:

ok single line: '1407'

Test #22:

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

input:

4 3561761

output:

5030

result:

ok single line: '5030'

Test #23:

score: 0
Accepted
time: 157ms
memory: 28004kb

input:

38 122564001

output:

8354

result:

ok single line: '8354'

Test #24:

score: 0
Accepted
time: 157ms
memory: 27972kb

input:

95 89195320

output:

8396

result:

ok single line: '8396'

Test #25:

score: 0
Accepted
time: 213ms
memory: 27816kb

input:

60 149297808

output:

9686

result:

ok single line: '9686'

Test #26:

score: 0
Accepted
time: 218ms
memory: 27820kb

input:

65 19852042

output:

9732

result:

ok single line: '9732'

Test #27:

score: 0
Accepted
time: 216ms
memory: 27820kb

input:

3 152881363

output:

9778

result:

ok single line: '9778'

Test #28:

score: 0
Accepted
time: 213ms
memory: 27792kb

input:

41 182614945

output:

9823

result:

ok single line: '9823'

Test #29:

score: 0
Accepted
time: 223ms
memory: 27856kb

input:

27 110436294

output:

9872

result:

ok single line: '9872'

Test #30:

score: 0
Accepted
time: 222ms
memory: 27884kb

input:

87 174372628

output:

9938

result:

ok single line: '9938'