language: Python (python 2.7.3)
date: 948 days 7 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
import os
r=os.read
b='[%11c\n'%']'*99+r(0,91)
for k,v in r(0,99).split():
    t=map(ord,' -:G!.:; -:; !-.!"-. !". !./')['IJLOSTZ'.find(k)*4:][:4];v=int(v)-31
    while'!'>max(b[v+j+13]for j in t):v+=13
    for j in t:b=b[:v+j]+'#'+b[v+j+1:]
l='[##########]\n'
print b.replace(l,'')[-91:],b.count(l)*10
  • upload with new input
  • result: Success     time: 0.01s    memory: 6356 kB     returned value: 0

    [          ]
    [          ]
    [          ]
    [          ]
    [ #    #  #]
    [ ## ######]
    [==========]
    T2 Z6 I0 T7
    [          ]
    [          ]
    [          ]
    [#      ###]
    [#     ### ]
    [##### ####]
    [==========]
    10