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 listMay 5, 2026 02:59olliecrowolliecrowScore: 3,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2026 03:013,676122,164,315105,345,0001,282,0002,453,504
2May 5, 2026 03:013,676118,846,984105,343,0001,261,0002,465,792
3May 5, 2026 03:013,677122,341,577105,383,0001,272,0002,469,888
4May 5, 2026 03:013,677121,100,712105,623,0001,027,0002,457,600
5May 5, 2026 03:013,678122,343,110105,399,0001,276,0002,461,696
6May 5, 2026 03:013,678121,983,872105,657,0001,011,0002,461,696
7May 5, 2026 03:013,678122,004,347105,643,0001,023,0002,469,888
8May 5, 2026 03:013,678119,478,062105,411,0001,275,0002,449,408
9May 5, 2026 03:013,686122,721,491105,788,0001,112,0002,461,696