fork(19) download
  1. [None for r in[[i[-1]for a in[[[None,[int(i)%0xff for i in input().split()],input()+' ',{'0':0},'0',0,'',]]]for i in a if(i[5]<len(i[2]))and not a.append([[[i[3].update({i[4]:0})for _ in[None]if i[4]not in i[3]],[[i[1][1:]for _ in[None]if i[2][i[5]]is',']+[i[1]]][0][0],i[2],([[dict([(o,i[3][o])for o in i[3]if o is not i[4]]+[(i[4],(i[3][i[4]]+1)%0xff)])for _ in[None]if i[2][i[5]]is'+']+[dict([(o,i[3][o])for o in i[3]if o is not i[4]]+[(i[4],(i[3][i[4]]- 1)% 256)])for _ in[None]if i[2][i[5]]is'-']+[dict([(o,i[3][o])for o in i[3]if o is not i[4]]+[(i[4],i[1][0])])for _ in[None]if i[2][i[5]]is',']+[i[3]]][0][0]),([[str(int(i[4])+ 1)for _ in[None]if i[2][i[5]]is'>']+[str(int(i[4])- 1)for _ in[None]if i[2][i[5]]is'<']+[i[4]]][0][0]),([[i[5]+([l for l in range(2,len(i[2])+1)if (i[2][i[5]:][:l].count('[')is i[2][i[5]:][:l].count(']'))][0])for _ in[None]if i[2][i[5]]is'['and not i[3][i[4]]]+[i[5]+(-[l for l in range(2,len(i[2])+1)if(i[2][:i[5]+1][::-1][:l].count('[')is i[2][:i[5]+1][::-1][:l].count(']'))][0]+1)for _ in[None]if i[2][i[5]]is']'and i[3][i[4]]]+[i[5]+1]][0][0]),[[i[6]+chr(i[3][i[4]])for _ in[None]if i[2][i[5]]is'.']+[i[6]]][0][0],]][0])]]if print(r[-1])]
Success #stdin #stdout 0.04s 9772KB
stdin
+++++++++[->++++++++>+++++++++++>+++++<<<]>.>++.+++++++..+++.>-.------------.<++++++++.--------.+++.------.--------.>+.
stdout
Hello, world!