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 11:21olliecrowolliecrowScore: 3,855Success
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 11:223,850129,898,300110,652,0001,005,0002,342,912
2Apr 30, 2026 11:223,851130,925,906110,678,0001,006,0002,322,432
3Apr 30, 2026 11:223,852130,557,872109,741,0001,995,0002,326,528
4Apr 30, 2026 11:223,852128,092,165110,705,0001,006,0002,347,008
5Apr 30, 2026 11:223,855132,342,326109,817,0001,996,0002,338,816
6Apr 30, 2026 11:223,856131,011,277109,845,0001,997,0002,334,720
7Apr 30, 2026 11:223,856127,612,902109,854,0001,997,0002,326,528
8Apr 30, 2026 11:223,858133,158,641109,891,0001,998,0002,322,432
9Apr 30, 2026 11:223,858131,559,590109,895,0001,998,0002,342,912