QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#294919#4833. Tetra-puzzleucup-team1173#0 153ms3872kbC++2012.8kb2023-12-30 17:26:262023-12-30 17:26:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 34ms
memory: 3588kb

First Run Input

prepare
6
TO LO ZI LI LT LT

First Run Output

TLZLLL

Second Run Input

play
6
T
L
Z
L
L
L

Second Run Output

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

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

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

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

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

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


result:

ok good job!

Test #2:

score: 100
Accepted
time: 7ms
memory: 3584kb

First Run Input

prepare
1
ZI

First Run Output

Z

Second Run Input

play
1
Z

Second Run Output

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


result:

ok good job!

Test #3:

score: 100
Accepted
time: 28ms
memory: 3872kb

First Run Input

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

First Run Output

LTZOOZZTOL

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #4:

score: 100
Accepted
time: 74ms
memory: 3616kb

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

ZOZLZLILOZZOZLLTIZOLLLOOIZIZZ

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #5:

score: 100
Accepted
time: 82ms
memory: 3840kb

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

TZIIOZITZLLZOZIOOZZTTLLOIOIOOZLIZZZL

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #6:

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

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

LOTIOTLTLLLLOILITTIZTOOTTZTOOLOZTLIILOTOITLZTTOLZOILZOLIZ

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #7:

score: 100
Accepted
time: 153ms
memory: 3824kb

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

ZOOILZOZTOOOLZTTIZTTILZOLZTILZOTZZZOTTLOTOLZZZIIOZZZIITOIIITTZIIZIOIZTOIZLLILZITILZOTOIO

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #8:

score: 0
Wrong Answer on the first run

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

LLOTOLIIITIIOLLZLLOIZILIILILITZOILTOIOIOIOLIOOLZTLLLZILOTTLLILIOZLIIIOTZIITIITTTTZILIZTTTTLLOIIZZLZOIIIO

Second Run Input


Second Run Output


result:

wrong answer the length of your output should be exactly 105