Result

AC

Duration

770ms

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[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[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[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[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[2] = 0;
				while (p[1]) {
					--p[1];
					PUTC(p[0]);
					PUTC(p[0]);
					PUTC(p[0]);
					PUTC(p[0]);
					p[0] = GETC();
				}
			}
			p[2] = 0;
			while (p[1]) {
				--p[1];
				PUTC(p[0]);
				PUTC(p[0]);
				PUTC(p[0]);
				p[0] = GETC();
			}
		}
		p[2] = 0;
		while (p[1]) {
			--p[1];
			PUTC(p[0]);
			PUTC(p[0]);
			p[0] = GETC();
		}
	}
	p[2] = 0;
	while (p[1]) {
		--p[1];
		PUTC(p[0]);
		p[0] = GETC();
	}
	p[0] -= 10;
}

stdin

n4d4p6x5ob7x7p9rk4ep2h2m8w4s3k9z3z3f2i4r7w8l7i3tc6m4z3sj5u5u7i2n8q2y6t2d3t6i9anju5g7zj8h2v5

stdout

nnnnddddppppppxxxxxobbbbbbbxxxxxxxppppppppprkkkkepphhmmmmmmmmwwwwssskkkkkkkkkzzzzzzffiiiirrrrrrrwwwwwwwwllllllliiitccccccmmmmzzzsjjjjjuuuuuuuuuuuuiinnnnnnnnqqyyyyyyttdddttttttiiiiiiiiianjuuuuugggggggzjjjjjjjjhhvvvvv

stderr

strace