QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#294977#4833. Tetra-puzzleucup-team1173#0 1902ms3772kbC++2017.2kb2023-12-30 17:48:322023-12-30 17:48:32

詳細信息

Test #1:

score: 100
Accepted
time: 70ms
memory: 3508kb

First Run Input

prepare
6
TO LO ZI LI LT LT

First Run Output

OLZITT

Second Run Input

play
6
O
L
Z
I
T
T

Second Run Output

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

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

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

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

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

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


result:

ok good job!

Test #2:

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

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: 82ms
memory: 3508kb

First Run Input

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

First Run Output

OTOOLLZTZO

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #4:

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

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

TTZLIOITITTLILZZIIOLLZTOIZILL

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #5:

score: 100
Accepted
time: 268ms
memory: 3524kb

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

ITITTZLZOLZLTIITOIZZITLLIOIOOLTIZLOL

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #6:

score: 100
Accepted
time: 407ms
memory: 3540kb

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

TILIOTTILLOOLOIITTITITILTZTOIIOITLIOTOTZITTOTTOTZLILTZLLZ

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #7:

score: 100
Accepted
time: 608ms
memory: 3572kb

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

LOOIOLOTOOLLZTLZILTOLLTOTZTILLTTZOTZLLLIOZIZTZIIZOIOIOILLIILTLIIZOLLITLIZZLILOILIIILTZIO

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #8:

score: 100
Accepted
time: 743ms
memory: 3636kb

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

IIILZZIIIIIIOLOOILIITILIIIIIIILOILTILOIOIOLOOOLOIIIIOILLIZOLIZILTLZLTIZLIZIOIIOIOTTILIITTTOILOIITZLLOITIL

Second Run Input

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

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #9:

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

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

TLLLZTZLZITLLIOTLILIOTOTLIZTIITIZIILZLZTIOILIOITTLZZLOTTILTILITIIOIOTITOIOTLZZLLLZLLLZLOLOLZLOOLOLIZTLTLLTZILOITZIIOLOTTIZZIIIIIILZTZLILZLZLTLLTLILLZILITZLIOLOZOLLTLOLZZIOTLLITZZTILLIOIZIZILIIOILLIZLLTLTL

Second Run Input

play
204
T
L
L
L
Z
T
Z
L
Z
I
T
L
L
I
O
T
L
I
L
I
O
T
O
T
L
I
Z
T
I
I
T
I
Z
I
I
L
Z
L
Z
T
I
O
I
L
I
O
I
T
T
L
Z
Z
L
O
T
T
I
L
T
I
L
I
T
I
I
O
I
O
T
I
T
O
I
O
T
L
Z
Z
L
L
L
Z
L
L
L
Z
L
O
L
O
L
Z
L
O
O
L
O
L
I
Z
T
L
T
L
L
T
Z
I
L
O
I
T
Z
I
I
O
L
O
T
T
I
Z
Z
I
I
I
I
I
I
L
Z
T
Z
L
I
L
Z
L
Z
L
T
L
L
T
L
I...

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #10:

score: 100
Accepted
time: 1902ms
memory: 3740kb

First Run Input

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

First Run Output

TTIZTILLTTITLZTTTZZITZITTTLZLLOLIITZTOZIZTIOLLZILOZTTTITZLIOLLLLIZIZLZZLOZZIOZZIOLLIOLZZITLZZIOTILILOLIZLLTLLIOTOZZLLOILTILOIOLOTTIOIOILOLLLIIITTLZLLILILOTILLIIITTTZIZZZITIIZLLLLILZILIIIIIITZLOLOLLILIZIZZLIZOTTLLLLOTIOLIOLTZITZILTZITZLOZTIIOOLZOLOITZTLTITLLLTIIOTILTTLLIILLILOILOITTILTZZOTIOIILTILTLT...

Second Run Input

play
303
T
T
I
Z
T
I
L
L
T
T
I
T
L
Z
T
T
T
Z
Z
I
T
Z
I
T
T
T
L
Z
L
L
O
L
I
I
T
Z
T
O
Z
I
Z
T
I
O
L
L
Z
I
L
O
Z
T
T
T
I
T
Z
L
I
O
L
L
L
L
I
Z
I
Z
L
Z
Z
L
O
Z
Z
I
O
Z
Z
I
O
L
L
I
O
L
Z
Z
I
T
L
Z
Z
I
O
T
I
L
I
L
O
L
I
Z
L
L
T
L
L
I
O
T
O
Z
Z
L
L
O
I
L
T
I
L
O
I
O
L
O
T
T
I
O
I
O
I
L
O
L
L
L
I
I
I
T
T
L...

Second Run Output

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

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

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

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

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

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

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

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

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

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

result:

ok good job!

Test #11:

score: 0
Stage 1: Program answer Time Limit Exceeded

First Run Input

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

First Run Output


Second Run Input


Second Run Output


result: