Arithmetic expressions Sergey Svistunov

Evaluate 100 arithmetic expressions as fast as possible.

Input

One expression per line on STDIN. Each expression contains 50,000 int16 numbers with operators +, -, *, / (integer division) and parentheses (, ).

-19550 - ((-14208 / (13583 + -19215)) + (-16832 / 797 + (9060 / -23627)) + ((-6060) + 24953))
30835 - 3703 - (-20089 * -6261 + ((-28985 - 29627) + (-17828 - (22773 / -4014) * 1630)))

Output

Print the int64 result of each expression, one per line, to STDOUT.

Back to listAug 17, 2026 13:11Tomislav TunkovicTomislav TunkovicScore: 2,313Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2026 13:282,30676,948,47163,562,0003,312,00032,768
2Aug 17, 2026 13:282,30777,010,96163,581,0003,323,00032,768
3Aug 17, 2026 13:282,30777,014,44963,578,0003,344,00028,672
4Aug 17, 2026 13:282,30877,074,73063,575,0003,379,00032,768
5Aug 17, 2026 13:282,31376,798,15063,772,0003,324,00028,672
6Aug 17, 2026 13:282,31476,905,64263,776,0003,357,00032,768
7Aug 17, 2026 13:282,31876,971,51763,898,0003,348,00032,768
8Aug 17, 2026 13:282,32177,391,32863,980,0003,334,00032,768
9Aug 17, 2026 13:282,32176,997,51563,992,0003,321,00032,768