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 20, 2026 12:08M-RochatM-RochatScore: 4,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 20, 2026 12:094,500140,361,373130,514,00002,113,536
2May 20, 2026 12:094,502142,747,314129,553,0001,023,0002,113,536
3May 20, 2026 12:094,502140,181,395129,549,0001,031,0002,113,536
4May 20, 2026 12:094,503139,853,945129,586,0001,015,0002,113,536
5May 20, 2026 12:094,504141,374,108129,627,0001,017,0002,113,536
6May 20, 2026 12:094,505139,862,275129,625,0001,037,0002,113,536
7May 20, 2026 12:094,506139,952,033129,679,0001,018,0002,113,536
8May 20, 2026 12:094,523141,744,717130,185,0001,010,0002,113,536
9May 20, 2026 12:094,526140,499,101130,251,0001,013,0002,113,536