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 10, 2026 09:58limanjun99limanjun99Score: 7,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 09:587,037230,483,304202,072,0002,000,0002,293,760
2Apr 10, 2026 09:587,038226,744,143202,090,0002,000,0002,359,296
3Apr 10, 2026 09:587,040226,560,622203,174,0001,000,0002,355,200
4Apr 10, 2026 09:587,041227,779,635202,179,0002,001,0002,453,504
5Apr 10, 2026 09:587,043227,443,384202,244,0002,002,0002,347,008
6Apr 10, 2026 09:587,043226,945,223202,252,0002,002,0002,293,760
7Apr 10, 2026 09:587,045229,630,117202,293,0002,002,0002,453,504
8Apr 10, 2026 09:587,063232,367,606201,825,0002,997,0002,293,760
9Apr 10, 2026 09:587,067227,278,294202,954,0001,999,0002,293,760