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 listFeb 22, 2026 04:41olliecrowolliecrowScore: 4,188Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2026 04:344,186144,225,264120,398,0001,003,0002,502,656
2Feb 22, 2026 04:414,186143,303,237120,377,0001,003,0002,506,752
3Feb 22, 2026 04:344,187142,334,683120,408,0001,003,0002,285,568
4Feb 22, 2026 04:344,187149,849,474120,410,0001,003,0002,285,568
5Feb 22, 2026 04:344,187147,976,567120,423,0001,003,0002,359,296
6Feb 22, 2026 04:344,187144,956,378120,431,0001,003,0002,514,944
7Feb 22, 2026 04:344,188141,472,272120,453,0001,003,0002,285,568
8Feb 22, 2026 04:344,189151,147,625120,481,0001,004,0002,506,752
9Feb 22, 2026 04:344,189145,351,150120,486,0001,004,0002,510,848
10Feb 22, 2026 04:344,190145,366,980120,493,0001,004,0002,285,568
11Feb 22, 2026 04:414,191142,196,839120,521,0001,004,0002,347,008
12Feb 22, 2026 04:414,194148,279,640120,607,0001,005,0002,285,568