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 28, 2026 14:52olliecrowolliecrowScore: 3,911Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2026 14:523,908131,235,835112,343,0001,003,0002,478,080
2Apr 28, 2026 14:523,910134,382,696112,415,0001,003,0002,486,272
3Apr 28, 2026 14:523,910129,698,762112,415,0001,003,0002,473,984
4Apr 28, 2026 14:523,911132,105,666112,432,0001,003,0002,318,336
5Apr 28, 2026 14:523,911135,236,208112,422,0001,003,0002,326,528
6Apr 28, 2026 14:523,912129,094,696112,449,0001,004,0002,482,176
7Apr 28, 2026 14:523,913128,799,801112,476,0001,004,0002,486,272
8Apr 28, 2026 14:523,913129,199,809112,483,0001,004,0002,465,792
9Apr 28, 2026 14:523,914126,242,013112,522,0001,004,0002,334,720