QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#403855#6968. 守卫dXqwq100 ✓41ms101064kbC++23925b2024-05-02 19:38:502024-05-02 19:38:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

20
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 632272582 856183512 735834478 604710445 475814705 581607279 875443850 967283125 469235857 680058587

output:

2

result:

ok 1 number(s): "2"

Test #2:

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

input:

19
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 11234478 632272582 856183512 735834478 604710445 475814705 581607279 875443850 967283125 469235857

output:

0

result:

ok 1 number(s): "0"

Test #3:

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

input:

20
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 632272582 856183512 735834478 604710445 475814705 581607279 875443850 967283125 469235857 680058587

output:

2

result:

ok 1 number(s): "2"

Test #4:

score: 10
Accepted
time: 2ms
memory: 12600kb

input:

499
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 90909090 2 76923076 2 66666666 8 58823529 5 52631578 5 47619047 9 43478260 10 40000000 5 37037037 7 34482758 7 32258064 7 30303030 5 28571428 6 27027027 5 25641025 4 24390243 3 23255813 8 22222222 7 21276595 6 20408163 10 19607843 5 1...

output:

119

result:

ok 1 number(s): "119"

Test #5:

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

input:

500
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 90909090 2 76923076 2 66666666 8 58823529 5 52631578 5 47619047 9 43478260 10 40000000 5 37037037 7 34482758 7 32258064 7 30303030 5 28571428 6 27027027 5 25641025 4 24390243 3 23255813 8 22222222 7 21276595 6 20408163 10 19607843 5 1...

output:

17

result:

ok 1 number(s): "17"

Test #6:

score: 10
Accepted
time: 3ms
memory: 14452kb

input:

499
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 90909090 2 76923076 2 66666666 8 58823529 5 52631578 5 47619047 9 43478260 10 40000000 5 37037037 7 34482758 7 32258064 7 30303030 5 28571428 6 27027027 5 25641025 4 24390243 3 23255813 8 22222222 7 21276595 6 20408163 10 19607843 5 1...

output:

119

result:

ok 1 number(s): "119"

Test #7:

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

input:

500
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 90909090 2 76923076 2 66666666 8 58823529 5 52631578 5 47619047 9 43478260 10 40000000 5 37037037 7 34482758 7 32258064 7 30303030 5 28571428 6 27027027 5 25641025 4 24390243 3 23255813 8 22222222 7 21276595 6 20408163 10 19607843 5 1...

output:

17

result:

ok 1 number(s): "17"

Test #8:

score: 10
Accepted
time: 41ms
memory: 100996kb

input:

4999
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 90909090 2 76923076 2 66666666 8 58823529 5 52631578 5 47619047 9 43478260 10 40000000 5 37037037 7 34482758 7 32258064 7 30303030 5 28571428 6 27027027 5 25641025 4 24390243 3 23255813 8 22222222 7 21276595 6 20408163 10 19607843 5 ...

output:

71

result:

ok 1 number(s): "71"

Test #9:

score: 10
Accepted
time: 41ms
memory: 100448kb

input:

5000
1000000000 6 333333333 8 200000000 10 142857142 4 111111111 8 90909090 2 76923076 2 66666666 8 58823529 5 52631578 5 47619047 9 43478260 10 40000000 5 37037037 7 34482758 7 32258064 7 30303030 5 28571428 6 27027027 5 25641025 4 24390243 3 23255813 8 22222222 7 21276595 6 20408163 10 19607843 5 ...

output:

16

result:

ok 1 number(s): "16"

Test #10:

score: 10
Accepted
time: 28ms
memory: 101064kb

input:

4999
1000000000 3 333333333 7 200000000 6 142857142 5 111111111 1 90909090 4 76923076 6 66666666 9 58823529 8 52631578 7 47619047 9 43478260 8 40000000 10 37037037 9 34482758 4 32258064 3 30303030 5 28571428 5 27027027 5 25641025 6 24390243 9 23255813 10 22222222 6 21276595 3 20408163 10 19607843 8 ...

output:

370

result:

ok 1 number(s): "370"

Extra Test:

score: 0
Extra Test Passed