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 listJun 21, 2026 13:29A_ShamanA_ShamanScore: 7,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2026 13:307,322222,100,977189,086,00023,268,0002,117,632
2Jun 21, 2026 13:307,334222,325,208189,109,00023,583,0002,117,632
3Jun 21, 2026 13:307,335222,630,756189,216,00023,519,0002,113,536
4Jun 21, 2026 13:307,337222,419,498189,188,00023,588,0002,113,536
5Jun 21, 2026 13:307,338222,414,806189,164,00023,645,0002,117,632
6Jun 21, 2026 13:307,341222,610,583189,200,00023,699,0002,113,536
7Jun 21, 2026 13:307,344222,580,884189,091,00023,898,0002,117,632
8Jun 21, 2026 13:307,350222,542,668189,142,00024,025,0002,117,632
9Jun 21, 2026 13:307,363223,331,719189,198,00024,345,0002,117,632