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 16, 2026 18:20olliecrowolliecrowScore: 3,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 18:213,638114,400,065104,450,0001,055,0002,117,632
2May 16, 2026 18:213,639116,253,277104,501,0001,042,0002,117,632
3May 16, 2026 18:213,639114,338,045104,492,0001,050,0002,117,632
4May 16, 2026 18:213,651114,618,131104,876,0001,008,0002,117,632
5May 16, 2026 18:213,653114,792,641104,920,0001,019,0002,117,632
6May 16, 2026 18:213,655115,465,243104,958,0001,047,0002,117,632
7May 16, 2026 18:213,657114,896,706105,004,0001,052,0002,117,632
8May 16, 2026 18:213,661116,920,966105,153,0001,029,0002,117,632
9May 16, 2026 18:213,662115,857,766105,168,0001,035,0002,117,632