QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#151099#5564. Lots of LandHuangHanShengAC ✓1ms3536kbC++231.8kb2023-08-26 15:25:042023-08-26 15:25:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4 4

output:

DDDD
CCCC
BBBB
AAAA

result:

ok correct

Test #2:

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

input:

6 15 9

output:

IIIIIHHHHHGGGGG
IIIIIHHHHHGGGGG
FFFFFEEEEEDDDDD
FFFFFEEEEEDDDDD
CCCCCBBBBBAAAAA
CCCCCBBBBBAAAAA

result:

ok correct

Test #3:

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

input:

100 100 26

output:

impossible

result:

ok correct

Test #4:

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

input:

1 1 1

output:

A

result:

ok correct

Test #5:

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

input:

1 100 25

output:

YYYYXXXXWWWWVVVVUUUUTTTTSSSSRRRRQQQQPPPPOOOONNNNMMMMLLLLKKKKJJJJIIIIHHHHGGGGFFFFEEEEDDDDCCCCBBBBAAAA

result:

ok correct

Test #6:

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

input:

100 1 20

output:

T
T
T
T
T
S
S
S
S
S
R
R
R
R
R
Q
Q
Q
Q
Q
P
P
P
P
P
O
O
O
O
O
N
N
N
N
N
M
M
M
M
M
L
L
L
L
L
K
K
K
K
K
J
J
J
J
J
I
I
I
I
I
H
H
H
H
H
G
G
G
G
G
F
F
F
F
F
E
E
E
E
E
D
D
D
D
D
C
C
C
C
C
B
B
B
B
B
A
A
A
A
A

result:

ok correct

Test #7:

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

input:

99 98 1

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAA...

result:

ok correct

Test #8:

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

input:

100 100 25

output:

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY...

result:

ok correct

Test #9:

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

input:

100 91 26

output:

ZZZZZZZYYYYYYYXXXXXXXWWWWWWWVVVVVVVUUUUUUUTTTTTTTSSSSSSSRRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNN
ZZZZZZZYYYYYYYXXXXXXXWWWWWWWVVVVVVVUUUUUUUTTTTTTTSSSSSSSRRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNN
ZZZZZZZYYYYYYYXXXXXXXWWWWWWWVVVVVVVUUUUUUUTTTTTTTSSSSSSSRRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNN
ZZZZZZZYYYYYYYXXXXXXXWWW...

result:

ok correct

Test #10:

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

input:

96 96 24

output:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX...

result:

ok correct

Test #11:

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

input:

12 60 16

output:

PPPPPPPPPPPPPPPOOOOOOOOOOOOOOONNNNNNNNNNNNNNNMMMMMMMMMMMMMMM
PPPPPPPPPPPPPPPOOOOOOOOOOOOOOONNNNNNNNNNNNNNNMMMMMMMMMMMMMMM
PPPPPPPPPPPPPPPOOOOOOOOOOOOOOONNNNNNNNNNNNNNNMMMMMMMMMMMMMMM
LLLLLLLLLLLLLLLKKKKKKKKKKKKKKKJJJJJJJJJJJJJJJIIIIIIIIIIIIIII
LLLLLLLLLLLLLLLKKKKKKKKKKKKKKKJJJJJJJJJJJJJJJIIIIIIIIIII...

result:

ok correct

Test #12:

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

input:

77 8 22

output:

VVVVUUUU
VVVVUUUU
VVVVUUUU
VVVVUUUU
VVVVUUUU
VVVVUUUU
VVVVUUUU
TTTTSSSS
TTTTSSSS
TTTTSSSS
TTTTSSSS
TTTTSSSS
TTTTSSSS
TTTTSSSS
RRRRQQQQ
RRRRQQQQ
RRRRQQQQ
RRRRQQQQ
RRRRQQQQ
RRRRQQQQ
RRRRQQQQ
PPPPOOOO
PPPPOOOO
PPPPOOOO
PPPPOOOO
PPPPOOOO
PPPPOOOO
PPPPOOOO
NNNNMMMM
NNNNMMMM
NNNNMMMM
NNNNMMMM
NNNNMMMM
NNN...

result:

ok correct

Test #13:

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

input:

24 50 20

output:

TTTTTTTTTTSSSSSSSSSSRRRRRRRRRRQQQQQQQQQQPPPPPPPPPP
TTTTTTTTTTSSSSSSSSSSRRRRRRRRRRQQQQQQQQQQPPPPPPPPPP
TTTTTTTTTTSSSSSSSSSSRRRRRRRRRRQQQQQQQQQQPPPPPPPPPP
TTTTTTTTTTSSSSSSSSSSRRRRRRRRRRQQQQQQQQQQPPPPPPPPPP
TTTTTTTTTTSSSSSSSSSSRRRRRRRRRRQQQQQQQQQQPPPPPPPPPP
TTTTTTTTTTSSSSSSSSSSRRRRRRRRRRQQQQQQQQQQPPPPP...

result:

ok correct

Test #14:

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

input:

60 7 14

output:

NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
NMLKJIH
GFEDCBA
GFEDCBA
GFEDCBA
GFEDCBA
GFEDCBA
GFEDCBA
GFEDCBA
GFED...

result:

ok correct

Test #15:

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

input:

14 63 18

output:

RRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNNMMMMMMMLLLLLLLKKKKKKKJJJJJJJ
RRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNNMMMMMMMLLLLLLLKKKKKKKJJJJJJJ
RRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNNMMMMMMMLLLLLLLKKKKKKKJJJJJJJ
RRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNNMMMMMMMLLLLLLLKKKKKKKJJJJJJJ
RRRRRRRQQQQQQQPPPPPPPOOOOOOONNNNNNNMMMMMMMLL...

result:

ok correct

Test #16:

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

input:

10 56 20

output:

TTTTTTTTTTTTTTTTTTTTTTTTTTTTSSSSSSSSSSSSSSSSSSSSSSSSSSSS
RRRRRRRRRRRRRRRRRRRRRRRRRRRRQQQQQQQQQQQQQQQQQQQQQQQQQQQQ
PPPPPPPPPPPPPPPPPPPPPPPPPPPPOOOOOOOOOOOOOOOOOOOOOOOOOOOO
NNNNNNNNNNNNNNNNNNNNNNNNNNNNMMMMMMMMMMMMMMMMMMMMMMMMMMMM
LLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKKKKKKKKKKKKKKKKKKKKKKKKKK
JJJJJJJJJJJJJJJ...

result:

ok correct

Test #17:

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

input:

76 100 8

output:

HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

result:

ok correct

Test #18:

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

input:

88 6 24

output:

XXWWVV
XXWWVV
XXWWVV
XXWWVV
XXWWVV
XXWWVV
XXWWVV
XXWWVV
XXWWVV
XXWWVV
XXWWVV
UUTTSS
UUTTSS
UUTTSS
UUTTSS
UUTTSS
UUTTSS
UUTTSS
UUTTSS
UUTTSS
UUTTSS
UUTTSS
RRQQPP
RRQQPP
RRQQPP
RRQQPP
RRQQPP
RRQQPP
RRQQPP
RRQQPP
RRQQPP
RRQQPP
RRQQPP
OONNMM
OONNMM
OONNMM
OONNMM
OONNMM
OONNMM
OONNMM
OONNMM
OONNMM
OONNMM...

result:

ok correct

Test #19:

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

input:

42 24 18

output:

RRRRRRRRQQQQQQQQPPPPPPPP
RRRRRRRRQQQQQQQQPPPPPPPP
RRRRRRRRQQQQQQQQPPPPPPPP
RRRRRRRRQQQQQQQQPPPPPPPP
RRRRRRRRQQQQQQQQPPPPPPPP
RRRRRRRRQQQQQQQQPPPPPPPP
RRRRRRRRQQQQQQQQPPPPPPPP
OOOOOOOONNNNNNNNMMMMMMMM
OOOOOOOONNNNNNNNMMMMMMMM
OOOOOOOONNNNNNNNMMMMMMMM
OOOOOOOONNNNNNNNMMMMMMMM
OOOOOOOONNNNNNNNMMMMMMMM
...

result:

ok correct

Test #20:

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

input:

8 87 6

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEEEEEEEEEEEEEEEEEEEEEEEEEEEEDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEEEEEE...

result:

ok correct

Test #21:

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

input:

62 18 1

output:

AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA...

result:

ok correct

Test #22:

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

input:

52 9 2

output:

BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
BBBBBBBBB
AAAAAAAAA
AAAAAAAAA
AAAAAAAAA
AAAAAAAAA
...

result:

ok correct

Test #23:

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

input:

57 62 3

output:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

result:

ok correct

Test #24:

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

input:

53 4 4

output:

DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA
DCBA

result:

ok correct

Test #25:

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

input:

28 95 5

output:

EEEEEEEEEEEEEEEEEEEDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAA
EEEEEEEEEEEEEEEEEEEDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAA
EEEEEEEEEEEEEEEEEEEDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAA
EEEEEEEEEEEE...

result:

ok correct

Test #26:

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

input:

12 76 6

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE...

result:

ok correct

Test #27:

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

input:

91 83 7

output:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

result:

ok correct

Test #28:

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

input:

78 16 8

output:

HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFFFEEEE
HHHHGGGGFFF...

result:

ok correct

Test #29:

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

input:

27 90 9

output:

IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
HHHHHHHHHHHHHHHHHHHHHHHHHHH...

result:

ok correct

Test #30:

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

input:

30 23 10

output:

JJJJJJJJJJJJJJJJJJJJJJJ
JJJJJJJJJJJJJJJJJJJJJJJ
JJJJJJJJJJJJJJJJJJJJJJJ
IIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIII
HHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHH
GGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGG
FFFFFFFFFFFF...

result:

ok correct

Test #31:

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

input:

6 14 11

output:

impossible

result:

ok correct

Test #32:

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

input:

85 99 24

output:

impossible

result:

ok correct

Test #33:

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

input:

64 74 18

output:

impossible

result:

ok correct

Test #34:

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

input:

98 78 16

output:

impossible

result:

ok correct

Test #35:

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

input:

11 33 24

output:

impossible

result:

ok correct

Test #36:

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

input:

47 5 8

output:

impossible

result:

ok correct

Test #37:

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

input:

75 6 23

output:

impossible

result:

ok correct

Test #38:

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

input:

15 69 11

output:

impossible

result:

ok correct

Test #39:

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

input:

7 74 4

output:

impossible

result:

ok correct

Test #40:

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

input:

58 30 11

output:

impossible

result:

ok correct

Test #41:

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

input:

48 94 6

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFF...

result:

ok correct

Test #42:

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

input:

45 92 23

output:

WWWWVVVVUUUUTTTTSSSSRRRRQQQQPPPPOOOONNNNMMMMLLLLKKKKJJJJIIIIHHHHGGGGFFFFEEEEDDDDCCCCBBBBAAAA
WWWWVVVVUUUUTTTTSSSSRRRRQQQQPPPPOOOONNNNMMMMLLLLKKKKJJJJIIIIHHHHGGGGFFFFEEEEDDDDCCCCBBBBAAAA
WWWWVVVVUUUUTTTTSSSSRRRRQQQQPPPPOOOONNNNMMMMLLLLKKKKJJJJIIIIHHHHGGGGFFFFEEEEDDDDCCCCBBBBAAAA
WWWWVVVVUUUUTTTTSSSSR...

result:

ok correct

Test #43:

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

input:

96 51 17

output:

QQQPPPOOONNNMMMLLLKKKJJJIIIHHHGGGFFFEEEDDDCCCBBBAAA
QQQPPPOOONNNMMMLLLKKKJJJIIIHHHGGGFFFEEEDDDCCCBBBAAA
QQQPPPOOONNNMMMLLLKKKJJJIIIHHHGGGFFFEEEDDDCCCBBBAAA
QQQPPPOOONNNMMMLLLKKKJJJIIIHHHGGGFFFEEEDDDCCCBBBAAA
QQQPPPOOONNNMMMLLLKKKJJJIIIHHHGGGFFFEEEDDDCCCBBBAAA
QQQPPPOOONNNMMMLLLKKKJJJIIIHHHGGGFFFEEED...

result:

ok correct

Test #44:

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

input:

90 84 24

output:

XXXXXXXXXXXXXXXXXXXXXWWWWWWWWWWWWWWWWWWWWWVVVVVVVVVVVVVVVVVVVVVUUUUUUUUUUUUUUUUUUUUU
XXXXXXXXXXXXXXXXXXXXXWWWWWWWWWWWWWWWWWWWWWVVVVVVVVVVVVVVVVVVVVVUUUUUUUUUUUUUUUUUUUUU
XXXXXXXXXXXXXXXXXXXXXWWWWWWWWWWWWWWWWWWWWWVVVVVVVVVVVVVVVVVVVVVUUUUUUUUUUUUUUUUUUUUU
XXXXXXXXXXXXXXXXXXXXXWWWWWWWWWWWWWWWWWWWWWVVV...

result:

ok correct

Test #45:

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

input:

96 51 24

output:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW...

result:

ok correct

Test #46:

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

input:

16 99 22

output:

VVVVVVVVVUUUUUUUUUTTTTTTTTTSSSSSSSSSRRRRRRRRRQQQQQQQQQPPPPPPPPPOOOOOOOOONNNNNNNNNMMMMMMMMMLLLLLLLLL
VVVVVVVVVUUUUUUUUUTTTTTTTTTSSSSSSSSSRRRRRRRRRQQQQQQQQQPPPPPPPPPOOOOOOOOONNNNNNNNNMMMMMMMMMLLLLLLLLL
VVVVVVVVVUUUUUUUUUTTTTTTTTTSSSSSSSSSRRRRRRRRRQQQQQQQQQPPPPPPPPPOOOOOOOOONNNNNNNNNMMMMMMMMMLLLLLLLLL
...

result:

ok correct

Test #47:

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

input:

96 91 24

output:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX...

result:

ok correct