by@akouryy1
WA
1137ms
,+[-[->++++++++++<],------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>[-<+>],,+]<<<<<<<<<<<<[->>>>>>>>>>>>+>+<<<<<<<<<<<<<]>>>>>>>>>>>>>[-<<<<<<<<<<<<<+>>>>>>>>>>>>>]<<<<<<<<<[->>>>>>>>>+>+<<<<<<<<<<]>>>>>>>>>>[-<<<<<<<<<<+>>>>>>>>>>]<<<<<<[->>>>>>+>+<<<<<<<]>>>>>>>[-<<<<<<<+>>>>>>>]<<[->[->>+<<]>>[-<<+>+>]<<<]>[-]<<[->>>[-<<+>>]<<[->+>+<<]<]>[-]>>[-]<[->>>-<<<]<<`<<<<<<<<<<<<[->>>>>>>>>>>>+>+<<<<<<<<<<<<<]>>>>>>>>>>>>>[-<<<<<<<<<<<<<+>>>>>>>>>>>>>]<<<<<<<<<[->>>>>>>>>+>+<<<<<<<<<<]>>>>>>>>>>[-<<<<<<<<<<+>>>>>>>>>>]<<<[->>>+>+<<<<]>>>>[-<<<<+>>>>]<<[->[->>+<<]>>[-<<+>+>]<<<]>[-]<<[->>>[-<<+>>]<<[->+>+<<]<]>[-]>>[-]<[->>>+<<<]<<`<<<<<<<<<<<<[->>>>>>>>>>>>+>+<<<<<<<<<<<<<]>>>>>>>>>>>>>[-<<<<<<<<<<<<<+>>>>>>>>>>>>>]<<<<<<<<[->>>>>>>>+>+<<<<<<<<<]>>>>>>>>>[-<<<<<<<<<+>>>>>>>>>]<<<<<<<[->>>>>>>+>+<<<<<<<<]>>>>>>>>[-<<<<<<<<+>>>>>>>>]<<[->[->>+<<]>>[-<<+>+>]<<<]>[-]<<[->>>[-<<+>>]<<[->+>+<<]<]>[-]>>[-]<[->>>+<<<]<<`<<<<<<<<<<<<[->>>>>>>>>>>>+>+<<<<<<<<<<<<<]>>>>>>>>>>>>>[-<<<<<<<<<<<<<+>>>>>>>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->+>+<<]<]>[-]>>[-]<[->>>-<<<]<<`>>>>>`[------<+>]++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>>>>++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>>>>++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>>>>++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>>>>++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>>>>++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>>>><<++++++++++++++++++++++++++++++++++++++++++++++++.<<<++++++++++++++++++++++++++++++++++++++++++++++++.<<<++++++++++++++++++++++++++++++++++++++++++++++++.<<<++++++++++++++++++++++++++++++++++++++++++++++++.<<<++++++++++++++++++++++++++++++++++++++++++++++++.<<<++++++++++++++++++++++++++++++++++++++++++++++++.
p[0] = GETC(); ++p[0]; p[1] = 0; while (p[0]) { --p[0]; p[1] += 10*p[0]; p[0] = GETC(); p[0] += p[1]-528; p[1] = GETC(); p[1] = GETC(); ++p[1]; ++p; } p[0] = p[-12]; p[1] += p[-12]; p[-12] = p[1]; p[1] = p[-8]; p[2] += p[-8]; p[-8] = p[2]; p[2] = p[-4]; p[3] += p[-4]; p[-4] = p[3]; p[3] = 0; int loopcnt0; for (loopcnt0 = p[1]; loopcnt0 > 0; --loopcnt0) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt1; for (loopcnt1 = p[0]; loopcnt1 > 0; --loopcnt1) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-12]; p[1] = p[-12]; p[3] = p[-1]; p[5] -= p[2]; p[2] = p[-8]; p[-12] = p[1]; p[1] = p[-8]; p[-8] = p[2]; p[2] = p[-1]; p[-1] = p[3]; p[3] = 0; int loopcnt2; for (loopcnt2 = p[1]; loopcnt2 > 0; --loopcnt2) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt3; for (loopcnt3 = p[0]; loopcnt3 > 0; --loopcnt3) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-12]; p[1] = p[-12]; p[3] = p[-5]; p[5] += p[2]; p[2] = p[-7]; p[-12] = p[1]; p[1] = p[-7]; p[-7] = p[2]; p[2] = p[-5]; p[-5] = p[3]; p[3] = 0; int loopcnt4; for (loopcnt4 = p[1]; loopcnt4 > 0; --loopcnt4) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt5; for (loopcnt5 = p[0]; loopcnt5 > 0; --loopcnt5) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-12]; p[1] = p[-12]; p[3] = p[-2]; p[5] += p[2]; p[2] = p[-7]; p[-12] = p[1]; p[1] = p[-7]; p[-7] = p[2]; p[2] = p[-2]; p[-2] = p[3]; p[3] = 0; int loopcnt6; for (loopcnt6 = p[1]; loopcnt6 > 0; --loopcnt6) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt7; for (loopcnt7 = p[0]; loopcnt7 > 0; --loopcnt7) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-12]; p[1] = p[-12]; p[3] = p[-1]; p[5] -= p[2]; p[2] = p[-5]; p[-12] = p[1]; p[1] = p[-5]; p[-5] = p[2]; p[2] = p[-1]; p[-1] = p[3]; p[3] = 0; int loopcnt8; for (loopcnt8 = p[1]; loopcnt8 > 0; --loopcnt8) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt9; for (loopcnt9 = p[0]; loopcnt9 > 0; --loopcnt9) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-12]; p[1] = p[-12]; p[3] = p[-2]; p[5] -= p[2]; p[2] = p[-4]; p[-12] = p[1]; p[1] = p[-4]; p[-4] = p[2]; p[2] = p[-2]; p[-2] = p[3]; p[3] = 0; int loopcnt10; for (loopcnt10 = p[1]; loopcnt10 > 0; --loopcnt10) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt11; for (loopcnt11 = p[0]; loopcnt11 > 0; --loopcnt11) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-11]; p[1] = p[-11]; p[3] = p[-4]; p[5] += p[2]; p[2] = p[-9]; p[-11] = p[1]; p[1] = p[-9]; p[-9] = p[2]; p[2] = p[-4]; p[-4] = p[3]; p[3] = 0; int loopcnt12; for (loopcnt12 = p[1]; loopcnt12 > 0; --loopcnt12) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt13; for (loopcnt13 = p[0]; loopcnt13 > 0; --loopcnt13) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-11]; p[1] = p[-11]; p[3] = p[-1]; p[5] += p[2]; p[2] = p[-9]; p[-11] = p[1]; p[1] = p[-9]; p[-9] = p[2]; p[2] = p[-1]; p[-1] = p[3]; p[3] = 0; int loopcnt14; for (loopcnt14 = p[1]; loopcnt14 > 0; --loopcnt14) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt15; for (loopcnt15 = p[0]; loopcnt15 > 0; --loopcnt15) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-11]; p[1] = p[-11]; p[3] = p[-6]; p[5] -= p[2]; p[2] = p[-7]; p[-11] = p[1]; p[1] = p[-7]; p[-7] = p[2]; p[2] = p[-6]; p[-6] = p[3]; p[3] = 0; int loopcnt16; for (loopcnt16 = p[1]; loopcnt16 > 0; --loopcnt16) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt17; for (loopcnt17 = p[0]; loopcnt17 > 0; --loopcnt17) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-11]; p[1] = p[-11]; p[3] = p[-3]; p[5] -= p[2]; p[2] = p[-7]; p[-11] = p[1]; p[1] = p[-7]; p[-7] = p[2]; p[2] = p[-3]; p[-3] = p[3]; p[3] = 0; int loopcnt18; for (loopcnt18 = p[1]; loopcnt18 > 0; --loopcnt18) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt19; for (loopcnt19 = p[0]; loopcnt19 > 0; --loopcnt19) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-11]; p[1] = p[-11]; p[3] = p[-1]; p[5] += p[2]; p[2] = p[-6]; p[-11] = p[1]; p[1] = p[-6]; p[-6] = p[2]; p[2] = p[-1]; p[-1] = p[3]; p[3] = 0; int loopcnt20; for (loopcnt20 = p[1]; loopcnt20 > 0; --loopcnt20) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt21; for (loopcnt21 = p[0]; loopcnt21 > 0; --loopcnt21) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-11]; p[1] = p[-11]; p[3] = p[-3]; p[5] += p[2]; p[2] = p[-4]; p[-11] = p[1]; p[1] = p[-4]; p[-4] = p[2]; p[2] = p[-3]; p[-3] = p[3]; p[3] = 0; int loopcnt22; for (loopcnt22 = p[1]; loopcnt22 > 0; --loopcnt22) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt23; for (loopcnt23 = p[0]; loopcnt23 > 0; --loopcnt23) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-10]; p[1] = p[-10]; p[3] = p[-5]; p[5] -= p[2]; p[2] = p[-9]; p[-10] = p[1]; p[1] = p[-9]; p[-9] = p[2]; p[2] = p[-5]; p[-5] = p[3]; p[3] = 0; int loopcnt24; for (loopcnt24 = p[1]; loopcnt24 > 0; --loopcnt24) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt25; for (loopcnt25 = p[0]; loopcnt25 > 0; --loopcnt25) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-10]; p[1] = p[-10]; p[3] = p[-2]; p[5] -= p[2]; p[2] = p[-9]; p[-10] = p[1]; p[1] = p[-9]; p[-9] = p[2]; p[2] = p[-2]; p[-2] = p[3]; p[3] = 0; int loopcnt26; for (loopcnt26 = p[1]; loopcnt26 > 0; --loopcnt26) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt27; for (loopcnt27 = p[0]; loopcnt27 > 0; --loopcnt27) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-10]; p[1] = p[-10]; p[3] = p[-6]; p[5] += p[2]; p[2] = p[-8]; p[-10] = p[1]; p[1] = p[-8]; p[-8] = p[2]; p[2] = p[-6]; p[-6] = p[3]; p[3] = 0; int loopcnt28; for (loopcnt28 = p[1]; loopcnt28 > 0; --loopcnt28) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt29; for (loopcnt29 = p[0]; loopcnt29 > 0; --loopcnt29) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-10]; p[1] = p[-10]; p[3] = p[-3]; p[5] += p[2]; p[2] = p[-8]; p[-10] = p[1]; p[1] = p[-8]; p[-8] = p[2]; p[2] = p[-3]; p[-3] = p[3]; p[3] = 0; int loopcnt30; for (loopcnt30 = p[1]; loopcnt30 > 0; --loopcnt30) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt31; for (loopcnt31 = p[0]; loopcnt31 > 0; --loopcnt31) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-10]; p[1] = p[-10]; p[3] = p[-2]; p[5] -= p[2]; p[2] = p[-6]; p[-10] = p[1]; p[1] = p[-6]; p[-6] = p[2]; p[2] = p[-2]; p[-2] = p[3]; p[3] = 0; int loopcnt32; for (loopcnt32 = p[1]; loopcnt32 > 0; --loopcnt32) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt33; for (loopcnt33 = p[0]; loopcnt33 > 0; --loopcnt33) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-10]; p[1] = p[-10]; p[3] = p[-3]; p[5] -= p[2]; p[2] = p[-5]; p[-10] = p[1]; p[1] = p[-5]; p[-5] = p[2]; p[2] = p[-3]; p[-3] = p[3]; p[3] = 0; int loopcnt34; for (loopcnt34 = p[1]; loopcnt34 > 0; --loopcnt34) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt35; for (loopcnt35 = p[0]; loopcnt35 > 0; --loopcnt35) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-9]; p[1] = p[-9]; p[3] = p[-1]; p[5] += p[2]; p[2] = p[-5]; p[-9] = p[1]; p[1] = p[-5]; p[-5] = p[2]; p[2] = p[-1]; p[-1] = p[3]; p[3] = 0; int loopcnt36; for (loopcnt36 = p[1]; loopcnt36 > 0; --loopcnt36) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt37; for (loopcnt37 = p[0]; loopcnt37 > 0; --loopcnt37) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-9]; p[1] = p[-9]; p[3] = p[-2]; p[5] += p[2]; p[2] = p[-4]; p[-9] = p[1]; p[1] = p[-4]; p[-4] = p[2]; p[2] = p[-2]; p[-2] = p[3]; p[3] = 0; int loopcnt38; for (loopcnt38 = p[1]; loopcnt38 > 0; --loopcnt38) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt39; for (loopcnt39 = p[0]; loopcnt39 > 0; --loopcnt39) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-8]; p[1] = p[-8]; p[3] = p[-1]; p[5] -= p[2]; p[2] = p[-6]; p[-8] = p[1]; p[1] = p[-6]; p[-6] = p[2]; p[2] = p[-1]; p[-1] = p[3]; p[3] = 0; int loopcnt40; for (loopcnt40 = p[1]; loopcnt40 > 0; --loopcnt40) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt41; for (loopcnt41 = p[0]; loopcnt41 > 0; --loopcnt41) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-8]; p[1] = p[-8]; p[3] = p[-3]; p[5] -= p[2]; p[2] = p[-4]; p[-8] = p[1]; p[1] = p[-4]; p[-4] = p[2]; p[2] = p[-3]; p[-3] = p[3]; p[3] = 0; int loopcnt42; for (loopcnt42 = p[1]; loopcnt42 > 0; --loopcnt42) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt43; for (loopcnt43 = p[0]; loopcnt43 > 0; --loopcnt43) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-7]; p[1] = p[-7]; p[3] = p[-2]; p[5] += p[2]; p[2] = p[-6]; p[-7] = p[1]; p[1] = p[-6]; p[-6] = p[2]; p[2] = p[-2]; p[-2] = p[3]; p[3] = 0; int loopcnt44; for (loopcnt44 = p[1]; loopcnt44 > 0; --loopcnt44) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt45; for (loopcnt45 = p[0]; loopcnt45 > 0; --loopcnt45) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = p[-7]; p[1] = p[-7]; p[3] = p[-3]; p[5] += p[2]; p[2] = p[-5]; p[-7] = p[1]; p[1] = p[-5]; p[-5] = p[2]; p[2] = p[-3]; p[-3] = p[3]; p[3] = 0; int loopcnt46; for (loopcnt46 = p[1]; loopcnt46 > 0; --loopcnt46) { p[4] += p[2]; p[2] = p[4]; p[3] += p[4]; p[4] = 0; } p[1] = 0; p[2] = 0; int loopcnt47; for (loopcnt47 = p[0]; loopcnt47 > 0; --loopcnt47) { p[1] += p[3]; p[3] = p[1]; p[2] += p[1]; p[1] = 0; } p[0] = 0; p[1] = 0; p[3] = 0; p[5] -= p[2]; p[2] = 0; if (p[5]%2) { while (1); /* infinite loop */ } p[4] += 43*p[5]/2; p[5] = 10; while (p[4]) { --p[4]; --p[5]; while (p[5]) { ++p[6]; p += 3; } while (p[6]) { ++p[6]; p[5] += p[6]; p[6] = 0; ++p[7]; p += 3; } p -= 3; } p[8] += 10; while (p[7]) { --p[7]; --p[8]; while (p[8]) { ++p[9]; p += 3; } while (p[9]) { ++p[9]; p[8] += p[9]; p[9] = 0; ++p[10]; p += 3; } p -= 3; } p[11] += 10; while (p[10]) { --p[10]; --p[11]; while (p[11]) { ++p[12]; p += 3; } while (p[12]) { ++p[12]; p[11] += p[12]; p[12] = 0; ++p[13]; p += 3; } p -= 3; } p[14] += 10; while (p[13]) { --p[13]; --p[14]; while (p[14]) { ++p[15]; p += 3; } while (p[15]) { ++p[15]; p[14] += p[15]; p[15] = 0; ++p[16]; p += 3; } p -= 3; } p[17] += 10; while (p[16]) { --p[16]; --p[17]; while (p[17]) { ++p[18]; p += 3; } while (p[18]) { ++p[18]; p[17] += p[18]; p[18] = 0; ++p[19]; p += 3; } p -= 3; } p[20] += 10; while (p[19]) { --p[19]; --p[20]; while (p[20]) { ++p[21]; p += 3; } while (p[21]) { ++p[21]; p[20] += p[21]; p[21] = 0; ++p[22]; p += 3; } p -= 3; } p[21] += 48; PUTC(p[21]); p[18] += 48; PUTC(p[18]); p[15] += 48; PUTC(p[15]); p[12] += 48; PUTC(p[12]); p[9] += 48; PUTC(p[9]); p[6] += 48; PUTC(p[6]);
06 87 28 95 06 26 82 45 96 48 33 33
000147