Result

WA

Duration

853ms

Code [DL]

>>,----------[++++++++++.>>,----------]++++++++++.[-]<<[<<]>,+[---------------------------------[->+<]>.>,----------[----------------------[->+<]>[->+<<+>]+>---------------------------------------------------------------------------[[-]<->]<[->>+++++++++++++++++++++++++++++++++++++++++++<<]<[->+<]>.>,----------]++++++++++.[-]<[<<]>,+]

Disassembly

p[2] = GETC();
p[2] -= 10;
p[4] = 0;
while (p[2]) {
	p[2] += 10;
	PUTC(p[2]);
	p[4] = GETC();
	p[4] -= 10;
	p += 2;
}
p[2] = 0;
while (p[0] != 0) p -= 2;
PUTS("\n");
p[1] = GETC();
++p[1];
while (p[1]) {
	p[1] -= 33;
	p[2] += p[1];
	p[1] = 0;
	PUTC(p[2]);
	p[3] = GETC();
	p[3] -= 10;
	while (p[3]) {
		p[3] -= 22;
		p[4] += p[3];
		p[3] = p[4];
		p[5] += p[4]-75;
		p[4] = 1;
		if (p[5]) {
			p[5] = 0;
			--p[4];
		}
		p[6] += 43*p[4];
		p[4] = p[3];
		p[3] = 0;
		PUTC(p[4]);
		p[5] = GETC();
		p[5] -= 10;
		p += 2;
	}
	p[3] = 0;
	while (p[2] != 0) p -= 2;
	PUTS("\n");
	p[3] = GETC();
	++p[3];
	p += 2;
}

stdin

                          T                       
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                     K                            

stdout

                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                          T                       
                     KKKKK                       

stderr

strace