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 listApr 20, 2026 17:42olliecrowolliecrowScore: 4,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 17:424,132143,322,085117,840,0001,997,0002,379,776
2Apr 20, 2026 17:424,135144,635,427117,933,0001,998,0002,375,680
3Apr 20, 2026 17:424,135144,593,572117,919,0001,998,0002,379,776
4Apr 20, 2026 17:424,135141,781,917117,930,0001,998,0002,383,872
5Apr 20, 2026 17:424,136143,770,450117,957,0001,999,0002,375,680
6Apr 20, 2026 17:424,136142,797,295117,971,0001,999,0002,367,488
7Apr 20, 2026 17:424,136146,744,773118,959,000999,0002,375,680
8Apr 20, 2026 17:424,139137,533,428118,044,0002,000,0002,383,872
9Apr 20, 2026 17:424,148133,249,517119,310,0001,002,0002,281,472