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 listOct 17, 2026 08:13janwwwjanwwwScore: 2,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2026 08:162,71189,504,70077,572,0001,056,0002,117,632
2Oct 17, 2026 08:162,74390,344,58978,520,0001,043,0002,117,632
3Oct 17, 2026 08:162,74790,494,99778,638,0001,047,0002,117,632
4Oct 17, 2026 08:162,78191,426,10879,617,0001,037,0002,117,632
5Oct 17, 2026 08:162,79391,776,75779,950,0001,052,0002,117,632
6Oct 17, 2026 08:162,79591,868,14880,064,0001,003,0002,117,632
7Oct 17, 2026 08:162,80292,158,13480,227,0001,057,0002,117,632
8Oct 17, 2026 08:162,81492,400,13680,478,0001,130,0002,117,632
9Oct 17, 2026 08:162,85093,430,59581,600,0001,070,0002,117,632