QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#202006#2919. SubprimeHuangHanShengWA 6ms5588kbC++202.0kb2023-10-05 18:19:162023-10-05 18:19:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 5516kb

input:

1 10000
389

output:

45

result:

ok single line: '45'

Test #2:

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

input:

1 100
8

output:

8

result:

ok single line: '8'

Test #3:

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

input:

8000 9000
395

output:

0

result:

ok single line: '0'

Test #4:

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

input:

50000 80000
572

output:

63

result:

ok single line: '63'

Test #5:

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

input:

90000 100000
9999

output:

5

result:

ok single line: '5'

Test #6:

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

input:

1 100000
37502

output:

1

result:

ok single line: '1'

Test #7:

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

input:

1 1000
000

output:

0

result:

ok single line: '0'

Test #8:

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

input:

4509 12345
9999

output:

4

result:

ok single line: '4'

Test #9:

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

input:

1 1
2

output:

1

result:

ok single line: '1'

Test #10:

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

input:

2 8
2

output:

0

result:

ok single line: '0'

Test #11:

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

input:

2 9
2

output:

1

result:

ok single line: '1'

Test #12:

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

input:

1 100000
2

output:

44448

result:

ok single line: '44448'

Test #13:

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

input:

1 100000
0

output:

38298

result:

ok single line: '38298'

Test #14:

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

input:

1 100000
00

output:

3384

result:

ok single line: '3384'

Test #15:

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

input:

1 100000
000000

output:

0

result:

ok single line: '0'

Test #16:

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

input:

6 6
13

output:

1

result:

ok single line: '1'

Test #17:

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

input:

19 19
67

output:

1

result:

ok single line: '1'

Test #18:

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

input:

2137 2137
18719

output:

1

result:

ok single line: '1'

Test #19:

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

input:

1 100000
1

output:

65575

result:

ok single line: '65575'

Test #20:

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

input:

1 100000
9

output:

54268

result:

ok single line: '54268'

Test #21:

score: -100
Wrong Answer
time: 6ms
memory: 5324kb

input:

12345 98765
0021

output:

851

result:

wrong answer 1st lines differ - expected: '40', found: '851'