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 17:46olliecrowolliecrowScore: 3,735Success
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 17:463,726130,601,201107,059,0001,000,0002,506,752
2Apr 20, 2026 17:463,733129,692,726107,275,0001,002,0002,252,800
3Apr 20, 2026 17:463,734129,651,415108,312,00002,248,704
4Apr 20, 2026 17:463,734131,567,287107,300,0001,002,0002,519,040
5Apr 20, 2026 17:463,735130,547,166107,330,0001,003,0002,260,992
6Apr 20, 2026 17:463,736129,691,778107,360,0001,003,0002,252,800
7Apr 20, 2026 17:463,737128,175,959107,375,0001,003,0002,523,136
8Apr 20, 2026 17:463,739131,255,759107,454,0001,004,0002,256,896
9Apr 20, 2026 17:463,743138,248,367107,570,0001,005,0002,252,800