QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#177061#5564. Lots of LandHuangHanShengAC ✓1ms3992kbC++201.9kb2023-09-12 15:14:562023-09-12 15:14:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4 4

output:

AAAA
BBBB
CCCC
DDDD

result:

ok correct

Test #2:

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

input:

6 15 9

output:

AAAAAAAAAAEEEEE
DDDDDDDDDDEEEEE
BBBBBBBBBBHHHHH
FFFFFFFFFFHHHHH
CCCCCCCCCCIIIII
GGGGGGGGGGIIIII

result:

ok correct

Test #3:

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

input:

100 100 26

output:

impossible

result:

ok correct

Test #4:

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

input:

1 1 1

output:

A

result:

ok correct

Test #5:

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

input:

1 100 25

output:

AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRRSSSSTTTTUUUUVVVVWWWWXXXXYYYY

result:

ok correct

Test #6:

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

input:

100 1 20

output:

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

result:

ok correct

Test #7:

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

input:

99 98 1

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAA...

result:

ok correct

Test #8:

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

input:

100 100 25

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #9:

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

input:

100 91 26

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASSSSSSSSSSSSSSYYYYYYY
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASSSSSSSSSSSSSSYYYYYYY
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASSSSSSSSSSSSSSYYYYYYY
AAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #10:

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

input:

96 96 24

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAA...

result:

ok correct

Test #11:

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

input:

12 60 16

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHH
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCHHHHHHHHHHHHHHH
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHH
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBLLLLLLLLLLLLLLL
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFLLLLLLLLLLL...

result:

ok correct

Test #12:

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

input:

77 8 22

output:

AAAABBBB
AAAABBBB
AAAABBBB
AAAABBBB
AAAABBBB
AAAABBBB
AAAABBBB
CCCCDDDD
CCCCDDDD
CCCCDDDD
CCCCDDDD
CCCCDDDD
CCCCDDDD
CCCCDDDD
EEEEFFFF
EEEEFFFF
EEEEFFFF
EEEEFFFF
EEEEFFFF
EEEEFFFF
EEEEFFFF
GGGGHHHH
GGGGHHHH
GGGGHHHH
GGGGHHHH
GGGGHHHH
GGGGHHHH
GGGGHHHH
IIIIJJJJ
IIIIJJJJ
IIIIJJJJ
IIIIJJJJ
IIIIJJJJ
III...

result:

ok correct

Test #13:

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

input:

24 50 20

output:

AAAAAAAAAAAAAAAAAAAACCCCCCCCCCCCCCCCCCCCHHHHHHHHHH
AAAAAAAAAAAAAAAAAAAACCCCCCCCCCCCCCCCCCCCHHHHHHHHHH
AAAAAAAAAAAAAAAAAAAACCCCCCCCCCCCCCCCCCCCHHHHHHHHHH
BBBBBBBBBBBBBBBBBBBBGGGGGGGGGGGGGGGGGGGGHHHHHHHHHH
BBBBBBBBBBBBBBBBBBBBGGGGGGGGGGGGGGGGGGGGHHHHHHHHHH
BBBBBBBBBBBBBBBBBBBBGGGGGGGGGGGGGGGGGGGGHHHHH...

result:

ok correct

Test #14:

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

input:

60 7 14

output:

AAAAAAM
AAAAAAM
AAAAAAM
AAAAAAM
AAAAAAM
CCCCCCM
CCCCCCM
CCCCCCM
CCCCCCM
CCCCCCM
EEEEEEM
EEEEEEM
EEEEEEM
EEEEEEM
EEEEEEM
GGGGGGM
GGGGGGM
GGGGGGM
GGGGGGM
GGGGGGM
IIIIIIM
IIIIIIM
IIIIIIM
IIIIIIM
IIIIIIM
KKKKKKM
KKKKKKM
KKKKKKM
KKKKKKM
KKKKKKM
BBBBBBN
BBBBBBN
BBBBBBN
BBBBBBN
BBBBBBN
DDDDDDN
DDDDDDN
DDDD...

result:

ok correct

Test #15:

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

input:

14 63 18

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOOOOOOOQQQQQQQ
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCOOOOOOOQQQQQQQ
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEOOOOOOOQQQQQQQ
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGOOOOOOOQQQQQQQ
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII...

result:

ok correct

Test #16:

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

input:

10 56 20

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDD
EEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFFFFFFFFFFFFF
GGGGGGGGGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHH
IIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJJJJJJJJJJJJJJJJJJJJJJJ
KKKKKKKKKKKKKKK...

result:

ok correct

Test #17:

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

input:

76 100 8

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

result:

ok correct

Test #18:

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

input:

88 6 24

output:

AABBCC
AABBCC
AABBCC
AABBCC
AABBCC
AABBCC
AABBCC
AABBCC
AABBCC
AABBCC
AABBCC
DDEEFF
DDEEFF
DDEEFF
DDEEFF
DDEEFF
DDEEFF
DDEEFF
DDEEFF
DDEEFF
DDEEFF
DDEEFF
GGHHII
GGHHII
GGHHII
GGHHII
GGHHII
GGHHII
GGHHII
GGHHII
GGHHII
GGHHII
GGHHII
JJKKLL
JJKKLL
JJKKLL
JJKKLL
JJKKLL
JJKKLL
JJKKLL
JJKKLL
JJKKLL
JJKKLL...

result:

ok correct

Test #19:

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

input:

42 24 18

output:

AAAAAAAABBBBBBBBCCCCCCCC
AAAAAAAABBBBBBBBCCCCCCCC
AAAAAAAABBBBBBBBCCCCCCCC
AAAAAAAABBBBBBBBCCCCCCCC
AAAAAAAABBBBBBBBCCCCCCCC
AAAAAAAABBBBBBBBCCCCCCCC
AAAAAAAABBBBBBBBCCCCCCCC
DDDDDDDDEEEEEEEEFFFFFFFF
DDDDDDDDEEEEEEEEFFFFFFFF
DDDDDDDDEEEEEEEEFFFFFFFF
DDDDDDDDEEEEEEEEFFFFFFFF
DDDDDDDDEEEEEEEEFFFFFFFF
...

result:

ok correct

Test #20:

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

input:

8 87 6

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

result:

ok correct

Test #21:

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

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: 0ms
memory: 3888kb

input:

52 9 2

output:

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

result:

ok correct

Test #23:

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

input:

57 62 3

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #24:

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

input:

53 4 4

output:

ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD

result:

ok correct

Test #25:

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

input:

28 95 5

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEEEEEEEEEEEEEEEEEE
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEEEEEEEEEEEEEEEEEE
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEEEEEEEEEEEEEEEEEE
AAAAAAAAAAAA...

result:

ok correct

Test #26:

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

input:

12 76 6

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

result:

ok correct

Test #27:

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

input:

91 83 7

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #28:

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

input:

78 16 8

output:

AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
AAAAAAAAAAAAGGGG
CCCCCCCCCCCCGGGG
CCCCCCCCCCCCGGGG
CCCCCCCCCCCCGGGG
CCCCCCCCCCCCGGGG
CCCCCCCCCCC...

result:

ok correct

Test #29:

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

input:

27 90 9

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBB...

result:

ok correct

Test #30:

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

input:

30 23 10

output:

AAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCC
DDDDDDDDDDDDDDDDDDDDDDD
DDDDDDDDDDDDDDDDDDDDDDD
DDDDDDDDDDDDDDDDDDDDDDD
EEEEEEEEEEEE...

result:

ok correct

Test #31:

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

input:

6 14 11

output:

impossible

result:

ok correct

Test #32:

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

input:

85 99 24

output:

impossible

result:

ok correct

Test #33:

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

input:

64 74 18

output:

impossible

result:

ok correct

Test #34:

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

input:

98 78 16

output:

impossible

result:

ok correct

Test #35:

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

input:

11 33 24

output:

impossible

result:

ok correct

Test #36:

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

input:

47 5 8

output:

impossible

result:

ok correct

Test #37:

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

input:

75 6 23

output:

impossible

result:

ok correct

Test #38:

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

input:

15 69 11

output:

impossible

result:

ok correct

Test #39:

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

input:

7 74 4

output:

impossible

result:

ok correct

Test #40:

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

input:

58 30 11

output:

impossible

result:

ok correct

Test #41:

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

input:

48 94 6

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA...

result:

ok correct

Test #42:

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

input:

45 92 23

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBQQQQQQQQQQQQVVVVWWWW
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBQQQQQQQQQQQQVVVVWWWW
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBQQQQQQQQQQQQVVVVWWWW
AAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #43:

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

input:

96 51 17

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQQQ
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQQQ
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQQQ
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQQQ
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQQQ
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #44:

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

input:

90 84 24

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGGGGGGGGGGGGGGGGGGGGG
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGGGGGGGGGGGGGGGGGGGGG
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGGGGGGGGGGGGGGGGGGGGG
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct

Test #45:

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

input:

96 51 24

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

result:

ok correct

Test #46:

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

input:

16 99 22

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOOOOOOOOOOOOOOOOOOUUUUUUUUU
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEOOOOOOOOOOOOOOOOOOUUUUUUUUU
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIOOOOOOOOOOOOOOOOOOUUUUUUUUU
...

result:

ok correct

Test #47:

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

input:

96 91 24

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA...

result:

ok correct