QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#21039#2753. Picking Up the Diceqwq AC ✓3ms3720kbC++173.2kb2022-02-25 23:54:102022-05-08 01:52:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 7
3 1

output:

1

result:

ok single line: '1'

Test #2:

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

input:

10 46
1 2 3 4 5 6 1 2 3 4

output:

6

result:

ok single line: '6'

Test #3:

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

input:

20 96
1 2 3 4 5 6 1 2 3 4 1 2 3 4 5 6 1 2 3 4

output:

16

result:

ok single line: '16'

Test #4:

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

input:

24 144
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6

output:

0

result:

ok single line: '0'

Test #5:

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

input:

24 24
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

0

result:

ok single line: '0'

Test #6:

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

input:

24 72
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4

output:

24

result:

ok single line: '24'

Test #7:

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

input:

6 11
1 2 3 4 5 6

output:

3

result:

ok single line: '3'

Test #8:

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

input:

6 16
1 2 3 4 5 6

output:

1

result:

ok single line: '1'

Test #9:

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

input:

6 26
1 2 3 4 5 6

output:

1

result:

ok single line: '1'

Test #10:

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

input:

6 6
1 2 3 4 5 6

output:

5

result:

ok single line: '5'

Test #11:

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

input:

3 9
5 4 1

output:

1

result:

ok single line: '1'

Test #12:

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

input:

4 13
2 2 2 2

output:

3

result:

ok single line: '3'

Test #13:

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

input:

18 90
1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6

output:

12

result:

ok single line: '12'

Test #14:

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

input:

6 21
1 2 3 4 5 6

output:

0

result:

ok single line: '0'

Test #15:

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

input:

21 42
1 2 4 1 5 3 1 6 5 1 1 4 1 5 6 5 6 2 6 1 1

output:

10

result:

ok single line: '10'

Test #16:

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

input:

19 20
2 4 6 4 3 1 1 6 2 3 2 2 1 2 3 3 5 2 2

output:

16

result:

ok single line: '16'

Test #17:

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

input:

12 49
1 1 5 3 6 1 1 2 3 5 6 5

output:

4

result:

ok single line: '4'

Test #18:

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

input:

20 74
2 6 1 4 1 3 4 2 3 1 5 1 3 6 3 3 3 6 2 1

output:

5

result:

ok single line: '5'