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 listSep 5, 2026 08:27C#_userC#_userScore: 31,380Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 08:3131,372919,927,407902,800,0007,012,0002,113,536
2Sep 5, 2026 08:3131,373920,647,556902,824,0007,011,0002,113,536
3Sep 5, 2026 08:3131,377920,015,898901,931,0008,029,0002,113,536
4Sep 5, 2026 08:3131,378919,975,602902,955,0007,010,0002,113,536
5Sep 5, 2026 08:3131,380920,146,445901,915,0008,122,0002,117,632
6Sep 5, 2026 08:3131,385920,302,763902,182,0008,011,0002,113,536
7Sep 5, 2026 08:3131,422921,351,551903,166,0008,100,0002,113,536
8Sep 5, 2026 08:3131,545925,783,878906,769,0008,046,0002,113,536
9Sep 5, 2026 08:3132,072940,306,782922,087,0008,015,0002,113,536