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 20, 2026 22:50Charles CabergsCharles CabergsScore: 4,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 22:504,815169,666,597137,659,0001,995,0002,494,464
2Apr 20, 2026 22:504,818165,925,182137,750,0001,996,0002,502,656
3Apr 20, 2026 22:504,819169,560,704138,775,000998,0002,494,464
4Apr 20, 2026 22:504,819166,517,678136,773,0002,995,0002,510,848
5Apr 20, 2026 22:504,820168,528,204137,790,0001,996,0002,260,992
6Apr 20, 2026 22:504,820168,684,407136,787,0002,995,0002,502,656
7Apr 20, 2026 22:504,820163,227,391136,804,0002,995,0002,269,184
8Apr 20, 2026 22:504,820164,667,621136,808,0002,995,0002,342,912
9Apr 20, 2026 22:504,829167,660,668137,043,0003,000,0002,281,472