Result

AC

Duration

832ms

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[2] += p[1]-33;
	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];
		}
		int loopcnt0;
		for (loopcnt0 = p[4]; loopcnt0 > 0; --loopcnt0) {
			if (p[6]%2) {
				while (1); /* infinite loop */
			}
			p[7] += p[6]/2;
			p[6] = p[7]+59;
			p[7] = 0;
		}
		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                     
          KKKKKKKKKKKKKKKKKKe                     

stderr

strace