QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#555918#2463. Square Roomsucup-team1005#TL 29ms69952kbC++203.9kb2024-09-10 12:30:142024-09-10 12:30:14

詳細信息

Test #1:

score: 100
Accepted
time: 12ms
memory: 67200kb

input:

13 14
..............
..............
..............
..............
....$.........
#...#.........
$...$.........
#..$#.........
.............$
..............
.............$
...........$..
....$...$###.$

output:

AAAAABBBBBBBBB
AAAAABBBBBBBBB
AAAAABBBBBBBBB
AAAAABBBBBBBBB
AAAAABBBBBBBBB
#CCC#BBBBBBBBB
DCCCEBBBBBBBBB
#CCC#BBBBBBBBB
FFFFFBBBBBBBBB
FFFFFGGGGHHHII
FFFFFGGGGHHHII
FFFFFGGGGHHHJJ
FFFFFGGGG###JJ

result:

ok 13 lines

Test #2:

score: 0
Accepted
time: 8ms
memory: 67140kb

input:

50 50
$................................................$
..................................................
..................................................
..................................................
..................................................
..........................................

output:

elgnatcer

result:

ok single line: 'elgnatcer'

Test #3:

score: 0
Accepted
time: 16ms
memory: 67892kb

input:

50 50
#################################################$
##################################################
##################################################
#######$#########$################################
##################################################
############$##$##########$$$##########...

output:

#################################################A
##################################################
##################################################
#######B#########C################################
##################################################
############D##E##########FGH################...

result:

ok 50 lines

Test #4:

score: 0
Accepted
time: 11ms
memory: 67300kb

input:

11 15
$......$......$
...............
...............
...............
.........$.....
.......$.......
.....$.........
...............
......$........
...............
$.............$

output:

AAAAAABBBBCCCCC
AAAAAABBBBCCCCC
AAAAAABBBBCCCCC
AAAAAABBBBCCCCC
AAAAAADDDECCCCC
AAAAAADDDFFFFFF
GGGGGHDDDFFFFFF
GGGGGIIIIFFFFFF
GGGGGIIIIFFFFFF
GGGGGIIIIFFFFFF
GGGGGIIIIFFFFFF

result:

ok 11 lines

Test #5:

score: 0
Accepted
time: 13ms
memory: 67300kb

input:

36 40
$.......................$..............$
........................................
........................................
........................................
........................................
........................................
........................................
..........

output:

AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAA...

result:

ok 36 lines

Test #6:

score: 0
Accepted
time: 20ms
memory: 69952kb

input:

56 37
##$....#$............$$........##$###
..$...$#..............$.$..........#$
.$#....#..............#.............$
$$$....#..............$..............
$......#..........................$.$
.......#............$..........#.....
.......$.......................#.$.##
.......#.......................

output:

##ABBBB#CCCCCCCCCCDDDDEFFFFFFFF##G###
HHIBBBB#CCCCCCCCCCDDDDJFFFFFFFFKKKK#L
HH#BBBB#CCCCCCCCCCDDDD#FFFFFFFFKKKKMM
NOPBBBB#CCCCCCCCCCDDDDQFFFFFFFFKKKKMM
RRRRRRR#CCCCCCCCCCSSSSSFFFFFFFFKKKKTT
RRRRRRR#CCCCCCCCCCSSSSSFFFFFFFF#UUUTT
RRRRRRRVCCCCCCCCCCSSSSSFFFFFFFF#UUU##
RRRRRRR#CCCCCCCCCCSSSSSFFFFFFFFWUU...

result:

ok 56 lines

Test #7:

score: 0
Accepted
time: 12ms
memory: 67224kb

input:

100 1
$
#
#
$
#
$
#
$
#
#
#
#
$
$
$
#
#
$
$
#
$
#
#
$
#
#
#
$
#
$
#
#
$
#
#
$
#
$
$
$
$
$
$
$
#
$
#
$
#
#
$
$
$
$
$
$
$
$
$
$
$
$
#
$
#
$
#
$
#
$
#
#
#
$
#
#
#
#
$
#
$
#
#
#
$
$
#
#
$
#
$
#
#
$
$
$
#
$
$
#

output:

A
#
#
B
#
C
#
D
#
#
#
#
E
F
G
#
#
H
I
#
J
#
#
K
#
#
#
L
#
M
#
#
N
#
#
O
#
P
Q
R
S
T
U
V
#
W
#
X
#
#
Y
Z
a
b
c
d
e
f
g
h
i
j
#
k
#
l
#
m
#
n
#
#
#
o
#
#
#
#
p
#
q
#
#
#
r
s
#
#
t
#
u
#
#
v
w
x
#
y
z
#

result:

ok 100 lines

Test #8:

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

input:

1 100
$$$$$$$$$$$$$$$$$$$$$$$$$$################################################$$$$$$$$$$$$$$$$$$$$$$$$$$

output:

ABCDEFGHIJKLMNOPQRSTUVWXYZ################################################abcdefghijklmnopqrstuvwxyz

result:

ok single line: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ####...#####abcdefghijklmnopqrstuvwxyz'

Test #9:

score: 0
Accepted
time: 29ms
memory: 69640kb

input:

100 100
$.................................................$.................................................
....................................................................................................
.............................................................................................

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

result:

ok 100 lines

Test #10:

score: 0
Accepted
time: 8ms
memory: 67128kb

input:

100 100
....................................................................................................
....................................................................................................
.............................................................................................

output:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

result:

ok 100 lines

Test #11:

score: -100
Time Limit Exceeded

input:

50 50
##################################################
##################################################
##################################################
##################################################
##################################################
#######################################...

output:


result: