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:17A_ShamanA_ShamanScore: 6,049Success
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:176,025183,996,836151,482,00023,268,0002,117,632
2Jun 21, 2026 13:176,028184,467,358151,659,00023,172,0002,117,632
3Jun 21, 2026 13:176,030184,179,880151,570,00023,322,0002,113,536
4Jun 21, 2026 13:176,044184,905,790151,340,00023,939,0002,117,632
5Jun 21, 2026 13:176,049184,681,844151,716,00023,706,0002,113,536
6Jun 21, 2026 13:176,051185,097,927151,673,00023,814,0002,117,632
7Jun 21, 2026 13:176,052184,777,998151,743,00023,793,0002,117,632
8Jun 21, 2026 13:176,066185,484,952151,906,00024,012,0002,117,632
9Jun 21, 2026 13:176,067185,297,877151,644,00024,301,0002,117,632