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 listAug 13, 2026 15:27Tomislav TunkovicTomislav TunkovicScore: 3,374Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2026 15:303,371106,175,12794,957,0002,820,0002,117,632
2Aug 13, 2026 15:303,372106,136,60295,095,0002,718,0002,117,632
3Aug 13, 2026 15:303,373106,188,58095,025,0002,805,0002,117,632
4Aug 13, 2026 15:303,373106,281,04395,017,0002,815,0002,117,632
5Aug 13, 2026 15:303,374107,112,07895,016,0002,858,0002,117,632
6Aug 13, 2026 15:303,374106,251,76495,031,0002,832,0002,117,632
7Aug 13, 2026 15:303,375106,947,94595,060,0002,818,0002,117,632
8Aug 13, 2026 15:303,376106,279,45795,093,0002,833,0002,117,632
9Aug 13, 2026 15:303,377106,286,68195,104,0002,840,0002,117,632