language: Python (python 2.7.3)
date: 948 days 12 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
import os
r=os.read;s=0;l='[##########]\n'
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:]
 s+=b.count(l)*10;b=b.replace(l,'')
print b[-91:],s
  • upload with new input
  • result: Success     time: 0.01s    memory: 6356 kB     returned value: 0

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