QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#555906#2463. Square Roomsucup-team1005#TL 1ms4032kbC++203.3kb2024-09-10 12:06:132024-09-10 12:06:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 3672kb

input:

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

output:

elgnatcer

result:

ok single line: 'elgnatcer'

Test #3:

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

input:

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

output:

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

result:

ok 50 lines

Test #4:

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

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

input:

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

output:

AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAAAAAAAABBBBBBBBBBCCCCCCCCCCC
AAAAAAAAAAAAA...

result:

ok 36 lines

Test #6:

score: -100
Time Limit Exceeded

input:

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

output:


result: