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 30, 2026 22:09olliecrowolliecrowScore: 4,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 30, 2026 22:114,642151,853,024132,637,0002,009,0002,347,008
2Apr 30, 2026 22:114,648155,742,779132,823,0001,997,0002,498,560
3Apr 30, 2026 22:114,654143,232,943131,991,0002,999,0002,383,872
4Apr 30, 2026 22:114,655143,205,027133,013,0002,000,0002,363,392
5Apr 30, 2026 22:114,656143,215,368132,044,0003,001,0002,363,392
6Apr 30, 2026 22:114,656143,304,741134,045,0001,000,0002,359,296
7Apr 30, 2026 22:114,657143,322,429132,052,0003,001,0002,363,392
8Apr 30, 2026 22:114,658143,216,257132,084,0003,001,0002,416,640
9Apr 30, 2026 22:114,665143,333,838133,294,0002,004,0002,383,872