QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#114425#1428. GrpMaMengQi WA 1ms3588kbC++204.0kb2023-06-22 02:01:372023-06-22 02:01:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 2

output:

5
1 ab
1 ac
1 bc
2 a c
1 b

result:

ok ok, n = 3, k = 2, groups = 5

Test #2:

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

input:

3 3

output:

4
1 abc
2 ab c
2 ac b
2 bc a

result:

ok ok, n = 3, k = 3, groups = 4

Test #3:

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

input:

1 1

output:

1
1 a

result:

ok ok, n = 1, k = 1, groups = 1

Test #4:

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

input:

2 1

output:

2
1 a
1 b

result:

ok ok, n = 2, k = 1, groups = 2

Test #5:

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

input:

2 2

output:

2
1 ab
2 a b

result:

ok ok, n = 2, k = 2, groups = 2

Test #6:

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

input:

3 1

output:

3
1 a
1 b
1 c

result:

ok ok, n = 3, k = 1, groups = 3

Test #7:

score: -100
Wrong Answer
time: 1ms
memory: 3548kb

input:

4 3

output:

10
1 abc
1 abd
1 acd
1 bcd
2 ab d
2 ac c
2 bc b
2 ad a
1 bd
1 cd

result:

wrong answer group 6: element 'c' repeated more than once