QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#521142 | #1662. ASCII Automata Art | MaMengQi | AC ✓ | 16ms | 4828kb | C++14 | 5.2kb | 2024-08-15 21:56:15 | 2024-08-15 21:56:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3816kb
input:
NE?(ER)C++|(IS)*?|(CHA((LL))ENGING)
output:
23 57 +---+ +----+ +---+ S->+->+ N +->+-------->+->+ ER +->+->+->+ C +->+->+->+->F | +---+ | | +----+ | | +---+ | | | | | +---+ | | | | | | | +->+ E +->+ | +<--------+ | | |...
result:
ok 23 57
Test #2:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
N(ER)C
output:
3 26 +---+ +----+ +---+ S->+ N +->+ ER +->+ C +->F +---+ +----+ +---+
result:
ok 3 26
Test #3:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
C|ON|TEST
output:
11 20 +---+ S->+->+ C +---->+->F | +---+ | | | | +----+ | +->+ ON +--->+ | +----+ | | | | +------+ | +->+ TEST +->+ +------+
result:
ok 11 20
Test #4:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
A+
output:
5 17 +---+ S->+->+ A +->+->F | +---+ | | | +<--------+
result:
ok 5 17
Test #5:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
B?
output:
6 17 S->+-------->+->F | | | +---+ | +->+ B +->+ +---+
result:
ok 6 17
Test #6:
score: 0
Accepted
time: 0ms
memory: 3828kb
input:
C*
output:
8 17 S->+-------->+->F | | | +---+ | +->+ C +->+ | +---+ | | | +<--------+
result:
ok 8 17
Test #7:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
Z
output:
3 11 +---+ S->+ Z +->F +---+
result:
ok 3 11
Test #8:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
((((DEF)|(GH)|(I))))
output:
11 19 +-----+ S->+->+ DEF +->+->F | +-----+ | | | | +----+ | +->+ GH +-->+ | +----+ | | | | +---+ | +->+ I +--->+ +---+
result:
ok 11 19
Test #9:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
ESYXKNQELMVKOHKSUJQHLPDUWFWNZRNPQQVHFYXBSYCHJPPBURRMFBKNQZKZMFITHOGXZQHCOVGWLSQABGRWWNOSEUDVSVGXHHDH
output:
3 110 +------------------------------------------------------------------------------------------------------+ S->+ ESYXKNQELMVKOHKSUJQHLPDUWFWNZRNPQQVHFYXBSYCHJPPBURRMFBKNQZKZMFITHOGXZQHCOVGWLSQABGRWWNOSEUDVSVGXHHDH +->F +--------------------------------------------------------------------...
result:
ok 3 110
Test #10:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
Q|W|R|K|E|O|R|I|V|E|Z|M|P|Y|U|I|K|E|X|V|L|A|G|F|M|L|I|W|R|Z|I|O|A|P|X|A|F|X|F|X|M|I|M|Y|X|Q|N|V|T|Y
output:
199 17 +---+ S->+->+ Q +->+->F | +---+ | | | | +---+ | +->+ W +->+ | +---+ | | | | +---+ | +->+ R +->+ | +---+ | | | | +---+ | +->+ K +->+ | +---+ | | | | ...
result:
ok 199 17
Test #11:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
(((((((((((((((((((((((((((((((((((((((((((((((((N)))))))))))))))))))))))))))))))))))))))))))))))))
output:
3 11 +---+ S->+ N +->F +---+
result:
ok 3 11
Test #12:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
INYWKMBDKYEFGBBONRCUUYMWAICQANQCECIVRHEKLLJEKAGJU|MLWORHGFUGRWAQGOXAXYDPMWJSODKPLRTOLCNGZXXVPUPGQYHU
output:
7 66 +---------------------------------------------------+ S->+->+ INYWKMBDKYEFGBBONRCUUYMWAICQANQCECIVRHEKLLJEKAGJU +-->+->F | +---------------------------------------------------+ | | | | +--------------------...
result:
ok 7 66
Test #13:
score: 0
Accepted
time: 1ms
memory: 3812kb
input:
(G|OFC|C|(DK))(RMOD|(V))|((S(Y)(JB)(HZTS|S|S|(M((KP(I|Q)(N)))(((JQ|(X|JH))))))GRY)|TS|F|((WRKS)|WP))
output:
55 108 +---+ +------+ S->+->+->+ G +--->+->+->+ RMOD +->+-------------------------------------------------------------------->+->F | | +---+ | | +------+ | ...
result:
ok 55 108
Test #14:
score: 0
Accepted
time: 1ms
memory: 3852kb
input:
(OS+|((VT(UZS)+))|U+|((F)|Z+++)+|((O)(R+|S+)+|T+++|FD|L)(O|Q+)++IFGX+(L|K|(TU(I)+)++)+HP(Q)+U)+|Q|M+
output:
77 186 +---+ +---+ S->+->+->+->+ O +->+->+ S +->+----------------------------------------------------------------------------...
result:
ok 77 186
Test #15:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
(((JU)?|(M)?|D(C|A|D)??X|P|H?|G|Y))(L?)(A?)S???((A|R?)??)((G|J)??)BQ((T))?(AXR??Z|D?Y((Z)((O))??)YW)
output:
50 237 +----+ +----+ +---+ S->+->+--------->+-------------------------->+->+------...
result:
ok 50 237
Test #16:
score: 0
Accepted
time: 1ms
memory: 4152kb
input:
AH|(TY|T|W)*|((W*|(X|(GV|A*FJ*S(Y)Y*)|H))**(((JE)***JUE|K|Z*|Z*)***(L***P((M|IB*)|(K|(O|Y))*|P)*)*))
output:
76 235 +----+ S->+->+ AH +---------------------------------------------...
result:
ok 76 235
Test #17:
score: 0
Accepted
time: 8ms
memory: 4328kb
input:
O+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
output:
201 605 ...
result:
ok 201 605
Test #18:
score: 0
Accepted
time: 12ms
memory: 4828kb
input:
V???????????????????????????????????????????????????????????????????????????????????????????????????
output:
300 605 ...
result:
ok 300 605
Test #19:
score: 0
Accepted
time: 16ms
memory: 4768kb
input:
S***************************************************************************************************
output:
498 605 ...
result:
ok 498 605
Test #20:
score: 0
Accepted
time: 1ms
memory: 3912kb
input:
NTN|J+|H|O++++++++++++++++++++++++++M+++++++++|F++++W+++++++++++++++|WF|J+++NAH+Z+++++GRXI++P+++++++
output:
125 234 +-----+ S->+->+ NTN +--------------------------------------------...
result:
ok 125 234
Test #21:
score: 0
Accepted
time: 7ms
memory: 4352kb
input:
G??????????????????????????????????????????????????????????????????????????????BI???????????????????
output:
237 607 ...
result:
ok 237 607
Test #22:
score: 0
Accepted
time: 4ms
memory: 4304kb
input:
B***|BFP*|G*******|U|K*|B|H***********A***W****H************************************************D*ER
output:
327 455 ...
result:
ok 327 455
Test #23:
score: 0
Accepted
time: 14ms
memory: 4564kb
input:
K+++++*+??++?*?*?+**?+***+++++*?*?*+*+*****+?*+**+???+?**?+***?+?+??+?**+???+?*****?+*?*+*?*++??++?*
output:
341 605 ...
result:
ok 341 605
Test #24:
score: 0
Accepted
time: 13ms
memory: 4756kb
input:
W*??+**?+*****?*+?+??+?+???*?*+*?*????+++????+?+**+??*++?+*?+*+??+?*?*+???*+???*+**?+???*?+?????+++?
output:
323 605 ...
result:
ok 323 605
Test #25:
score: 0
Accepted
time: 3ms
memory: 4492kb
input:
I+*+?+?*++*+*?*|QE?I|PR+**+???*??***?+++*?****+*?+*+|Q+*+*+*??*+*??+?++*?+*++**?*?????*+*+*?*N+U**+?
output:
302 295 ...
result:
ok 302 295
Test #26:
score: 0
Accepted
time: 1ms
memory: 3928kb
input:
(((M*+?A)*????((E(JY)??(BT))*+?+++++)??***++(N)++?*??((AN|A)+*++Y???*+)??L?HQNQX??(R(OO))+O+++E))??+
output:
62 434 ...
result:
ok 62 434
Test #27:
score: 0
Accepted
time: 1ms
memory: 3964kb
input:
(Q*|B|D(M)?PNT|H|U|H|D?++|(P***?)|OG|W|(C*+?)|(R+?*+**?*M++))****+|X*EM|Z|H|Z|(MM)|(T*MW)ESCFN?*?|A?
output:
189 120 S->+->+->+--------------------------------------------------------------------------------------------------->+->+->+->F | | | ...
result:
ok 189 120
Test #28:
score: 0
Accepted
time: 1ms
memory: 3888kb
input:
((HR+MJ|X++|OVHLR**++Q)+??*?|QI|B*+BGP|Q|TCRB?XTEG?)??((D|H|A?)*++*)*?(ARCIPKV?(NUZ*Z*R)WVEZ+)+|LIXW
output:
83 261 +--------+ +----+ +---+ +-----+ +---+ S->+->+------------------------...
result:
ok 83 261