QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#326388#4833. Tetra-puzzledaoquanglinh20070 1498ms3864kbC++205.9kb2024-02-12 23:28:522024-02-12 23:28:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 43ms
memory: 3772kb

First Run Input

prepare
6
TO LO ZI LI LT LT

First Run Output

TLILLT

Second Run Input

play
6
T
L
I
L
L
T

Second Run Output

***..
.*...
.....
.....
.....
###..
.#...
**...
.*...
.*...
#.#..
..*..
#.*..
..*..
..*..
#..**
....*
#...*
.....
.....
#..##
...*#
#***#
.....
.....
#*.##
***##
.....
.....
.....

result:

ok good job!

Test #2:

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

First Run Input

prepare
1
ZI

First Run Output

I

Second Run Input

play
1
I

Second Run Output

....*
....*
....*
....*
.....

result:

ok good job!

Test #3:

score: 100
Accepted
time: 81ms
memory: 3864kb

First Run Input

prepare
10
LO TZ ZO OI OL ZL ZO TL OZ LO

First Run Output

LZOOLLOLZL

Second Run Input

play
10
L
Z
O
O
L
L
O
L
Z
L

Second Run Output

.....
.....
*....
*....
**...
.....
.....
#....
#**..
##**.
.....
.....
#..**
###**
####.
.....
.....
#**##
.**..
####.
**...
.*...
.*...
.##..
####.
#**..
..*..
..*..
..#..
#.##.
##.**
...**
.....
.....
#..#.
##*##
***##
.....
.....
#..#.
.....
.....
.....
**...
#**#.
**...
.*...
.*...
##...
####.

result:

ok good job!

Test #4:

score: 100
Accepted
time: 329ms
memory: 3844kb

First Run Input

prepare
29
ZT OT ZL LT ZI LO IZ LT OI ZT ZT OL ZI LT LZ TZ IL ZI OT LZ LT LZ OT OI IO OZ IZ ZL ZL

First Run Output

ZTLTZLITOZZLITLZIZOZTLTIIZILL

Second Run Input

play
29
Z
T
L
T
Z
L
I
T
O
Z
Z
L
I
T
L
Z
I
Z
O
Z
T
L
T
I
I
Z
I
L
L

Second Run Output

..**.
...**
.....
.....
.....
.*##.
***##
.....
.....
.....
.###*
..***
.....
.....
.....
*####
**###
*....
.....
.....
.....
.....
#*...
**...
*....
.....
.....
##***
##*..
#....
.....
.....
.....
###..
#****
.....
.....
....*
###**
....*
...**
...**
....#
.....
....#
...##
...##
..**#
...**
....#
...

result:

ok good job!

Test #5:

score: 100
Accepted
time: 417ms
memory: 3556kb

First Run Input

prepare
36
TI ZT IT IT OT OZ IL TZ ZO LO LZ ZL OT ZI IL OT OT ZI ZT TZ TI LT LO OL IL OL IZ OZ OL ZL LT IO ZO ZL ZO LT

First Run Output

TTTIOZLZZLZZOIITOZZZTLLOIOIOLZTIOLOT

Second Run Input

play
36
T
T
T
I
O
Z
L
Z
Z
L
Z
Z
O
I
I
T
O
Z
Z
Z
T
L
L
O
I
O
I
O
L
Z
T
I
O
L
O
T

Second Run Output

***..
.*...
.....
.....
.....
###..
.#...
.*...
**...
.*...
#*#..
***..
.....
#....
.....
###..
###..
.....
#****
.....
###**
###**
.....
.....
.....
..**.
...**
.....
.....
.....
..##.
...##
...*.
...*.
...**
**#..
.**.#
.....
.....
....#
###..
.##.#
.....
**...
.**.#
###..
.##.#
....*
##***
.##.#
...

result:

ok good job!

Test #6:

score: 100
Accepted
time: 766ms
memory: 3832kb

First Run Input

prepare
57
LT OI TL IZ OT TL LT TI LO LT LO LO OL IO LI IT TZ TZ IO ZT TI OT OI TL TL ZT TZ OL OI LI OZ ZI TO LZ IO IO LT OZ TO OZ IZ TZ LT ZO TO TZ OT LT ZO OL IL LO ZT OZ OL IL ZI

First Run Output

TILZOLLILLLLOOIITTIZIOOLTTTOOIZZOLIOLOOZITTZOTTTOOILZOLII

Second Run Input

play
57
T
I
L
Z
O
L
L
I
L
L
L
L
O
O
I
I
T
T
I
Z
I
O
O
L
T
T
T
O
O
I
Z
Z
O
L
I
O
L
O
O
Z
I
T
T
Z
O
T
T
T
O
O
I
L
Z
O
L
I
I

Second Run Output

***..
.*...
.....
.....
.....
###..
.#*..
..*..
..*..
..*..
##...
.#...
**...
.*...
.*...
#....
.....
#*...
**...
*....
#**..
.**..
##...
##...
#....
###..
.##..
##...
##***
#.*..
###..
.##..
##***
..*..
#.#..
##...
.#...
.....
.....
#****
##...
.#...
**...
.*...
.*...
#..**
....*
#...*
.....
.....
...

result:

ok good job!

Test #7:

score: 100
Accepted
time: 1096ms
memory: 3580kb

First Run Input

prepare
88
ZL OL OT IT LO ZL OI ZT TO OI OL OL LZ ZT TL TZ IO ZL TZ TO IL LO ZT OL LT ZI TZ IL LT ZL OT TI ZO ZO ZT OZ TL TL LO OI TO OZ LI ZO ZT ZT IO IZ OZ ZO ZI ZO IO IO TI OL IL IT IL TL TL ZL IT IT ZO IO OL IL ZI TO OL IL ZI LZ LT IL LI ZO IL TL IT LI ZI OL TO OZ IZ OZ

First Run Output

LLTTLLITTOOOLTTTILTOILZOLZZILLOTOZTOLLOIOZIZTZOIOOIOOOILLIILTLIIOIOIIOOLILTLIZLLILIOOZIO

Second Run Input

play
88
L
L
T
T
L
L
I
T
T
O
O
O
L
T
T
T
I
L
T
O
I
L
Z
O
L
Z
Z
I
L
L
O
T
O
Z
T
O
L
L
O
I
O
Z
I
Z
T
Z
O
I
O
O
I
O
O
O
I
L
L
I
I
L
T
L
I
I
O
I
O
I
I
O
O
L
I
L
T
L
I
Z
L
L
I
L
I
O
O
Z
I
O

Second Run Output

.....
.....
*....
*....
**...
.....
.....
#....
#...*
##***
.....
.....
#....
#***#
..*..
.....
.....
#....
***..
.*#..
**...
.*...
#*...
###..
.##..
#**..
..*..
#.*..
#.#..
..#..
##...
.*...
#*...
#*...
.*...
#....
.....
#....
#*...
***..
#*...
**...
#*...
##...
###..
.....
.....
.....
...**
..#**
...

result:

ok good job!

Test #8:

score: 100
Accepted
time: 1498ms
memory: 3556kb

First Run Input

prepare
105
LI LI OI TL OZ LZ IL IZ IL TI IL IO OT LT LO ZO LI LZ OI IL ZT IT LZ IZ IZ LI IT LI IO TI ZL OI IT LO TZ OI IL OL IL OT IL OZ LT IO OL OL LO ZO TI LI LI LI ZO ZI LI OL TI TZ LO LT IL LZ IL OL ZT LT IZ IL TZ IT OZ TL ZI IZ IZ TO IT IO TO TI TO TZ ZT IZ LI IL ZI TI TL TZ TO LI LO OL IL IL ...

First Run Output

LLITOLIZLIIOOLOZLLOLZILIILILITZIILTOLOITIOLOOOLZTIIIZIIOTZLTIZLOZLILTIOTZIITTIOTTTZZLIIITTOLOOIIZZLZOIIIL

Second Run Input

play
105
L
L
I
T
O
L
I
Z
L
I
I
O
O
L
O
Z
L
L
O
L
Z
I
L
I
I
L
I
L
I
T
Z
I
I
L
T
O
L
O
I
T
I
O
L
O
O
O
L
Z
T
I
I
I
Z
I
I
O
T
Z
L
T
I
Z
L
O
Z
L
I
L
T
I
O
T
Z
I
I
T
T
I
O
T
T
T
Z
Z
L
I
I
I
T
T
O
L
O
O
I
I
Z
Z
L
Z
O
I
I
I
L

Second Run Output

.....
.....
*....
*....
**...
.....
.....
#....
#...*
##***
.....
.....
#****
#...#
.....
.....
.....
.....
#***#
..*..
.....
.....
.....
...**
..#**
.....
.....
.....
***##
*.###
..*..
..*..
..*..
..*..
#.###
.....
.....
.....
**...
#**##
.....
.....
....*
##***
.....
.....
.....
****#
.....
.....
...

result:

ok good job!

Test #9:

score: 0
Stage 1: Program answer Time Limit Exceeded

First Run Input

prepare
204
TZ TL OL TL ZO OT ZO LI TZ IO TI OL LZ TI TO ZT IL OI LT IT OZ TI OT TI ZL ZI ZO TI OI ZI TL LI ZI IO TI ZL LZ OL ZI TZ OI OI IZ LO IL LO IZ ZT ZT OL ZI OZ TL OI TI IT IZ ZL TI OI LZ OI TZ IZ IO OZ ZI TO OT TI TO IO IZ OI TZ LT TZ ZI OL LO LO OZ LO ZL LZ TZ LT TO OL LO LT TZ TL OZ ZO LO ...

First Run Output


Second Run Input


Second Run Output


result: