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 21, 2026 01:03olliecrowolliecrowScore: 4,083Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 01:044,080137,739,183116,320,0002,005,0002,256,896
2Apr 21, 2026 01:044,080145,748,229116,336,0002,005,0002,367,488
3Apr 21, 2026 01:044,081147,535,099118,358,00002,371,584
4Apr 21, 2026 01:044,082144,779,888117,390,0001,003,0002,383,872
5Apr 21, 2026 01:044,083141,686,086117,416,0001,003,0002,371,584
6Apr 21, 2026 01:044,084152,646,999116,464,0001,990,0002,375,680
7Apr 21, 2026 01:044,084135,763,530117,436,0001,003,0002,269,184
8Apr 21, 2026 01:044,093135,530,431117,700,0001,005,0002,269,184
9Apr 21, 2026 01:044,116136,696,975117,368,0002,006,0002,256,896