Result

AC

Duration

777ms

Code [DL]

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

Disassembly

p[0] = GETC();
p[0] -= 10;
p[1] = 0;
p[2] = 0;
while (p[0]) {
	p[0] += 10;
	PUTC(p[0]);
	++p[1];
	p[2] = GETC();
	p[2] -= 50;
	if (p[2]) {
		--p[2];
		if (p[2]) {
			--p[2];
			if (p[2]) {
				--p[2];
				if (p[2]) {
					--p[2];
					if (p[2]) {
						--p[2];
						if (p[2]) {
							--p[2];
							if (p[2]) {
								--p[2];
								if (p[2]) {
									--p[2];
									if (p[2]) {
										p[2] += 58;
										p[0] = p[2];
										p[2] = 0;
										p[1] = 0;
									}
									p[2] = 0;
									while (p[1]) {
										--p[1];
										PUTC(p[0]);
										PUTC(p[0]);
										PUTC(p[0]);
										PUTC(p[0]);
										PUTC(p[0]);
										PUTC(p[0]);
										PUTC(p[0]);
										PUTC(p[0]);
										PUTC(p[0]);
										p[0] = GETC();
									}
									p[1] = 0;
								}
								p[2] = 0;
								while (p[1]) {
									--p[1];
									PUTC(p[0]);
									PUTC(p[0]);
									PUTC(p[0]);
									PUTC(p[0]);
									PUTC(p[0]);
									PUTC(p[0]);
									PUTC(p[0]);
									PUTC(p[0]);
									p[0] = GETC();
								}
								p[1] = 0;
							}
							p[2] = 0;
							while (p[1]) {
								--p[1];
								PUTC(p[0]);
								PUTC(p[0]);
								PUTC(p[0]);
								PUTC(p[0]);
								PUTC(p[0]);
								PUTC(p[0]);
								PUTC(p[0]);
								p[0] = GETC();
							}
							p[1] = 0;
						}
						p[2] = 0;
						while (p[1]) {
							--p[1];
							PUTC(p[0]);
							PUTC(p[0]);
							PUTC(p[0]);
							PUTC(p[0]);
							PUTC(p[0]);
							PUTC(p[0]);
							p[0] = GETC();
						}
						p[1] = 0;
					}
					p[2] = 0;
					while (p[1]) {
						--p[1];
						PUTC(p[0]);
						PUTC(p[0]);
						PUTC(p[0]);
						PUTC(p[0]);
						PUTC(p[0]);
						p[0] = GETC();
					}
					p[1] = 0;
				}
				p[2] = 0;
				while (p[1]) {
					--p[1];
					PUTC(p[0]);
					PUTC(p[0]);
					PUTC(p[0]);
					PUTC(p[0]);
					p[0] = GETC();
				}
				p[1] = 0;
			}
			p[2] = 0;
			while (p[1]) {
				--p[1];
				PUTC(p[0]);
				PUTC(p[0]);
				PUTC(p[0]);
				p[0] = GETC();
			}
			p[1] = 0;
		}
		p[2] = 0;
		while (p[1]) {
			--p[1];
			PUTC(p[0]);
			PUTC(p[0]);
			p[0] = GETC();
		}
		p[1] = 0;
	}
	p[2] = 0;
	while (p[1]) {
		--p[1];
		PUTC(p[0]);
		p[0] = GETC();
	}
	p[0] -= 10;
}

stdin

b2b7c3x9q3a9d4x4n9n5kw8y7k6k5i9q4v7i8r2c6b9h8szbzq6t6p5b7u4b5t8x9h6a3c7g4v7e6m6n6v4j9f3o5leo4

stdout

bbbbbbbbbcccxxxxxxxxxqqqaaaaaaaaaddddxxxxnnnnnnnnnnnnnnkwwwwwwwwyyyyyyykkkkkkkkkkkiiiiiiiiiqqqqvvvvvvviiiiiiiirrccccccbbbbbbbbbhhhhhhhhszbzqqqqqqttttttpppppbbbbbbbuuuubbbbbttttttttxxxxxxxxxhhhhhhaaacccccccggggvvvvvvveeeeeemmmmmmnnnnnnvvvvjjjjjjjjjfffoooooleoooo

stderr

strace