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 14:16A_ShamanA_ShamanScore: 5,814Success
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 14:195,807177,596,585144,688,00023,726,0002,117,632
2Jun 21, 2026 14:195,809178,142,181144,841,00023,645,0002,117,632
3Jun 21, 2026 14:195,812178,189,699144,670,00023,880,0002,117,632
4Jun 21, 2026 14:195,813178,253,725144,472,00024,108,0002,117,632
5Jun 21, 2026 14:195,814177,817,955144,807,00023,809,0002,117,632
6Jun 21, 2026 14:195,823178,337,722144,772,00024,116,0002,117,632
7Jun 21, 2026 14:195,829178,643,918144,796,00024,249,0002,117,632
8Jun 21, 2026 14:195,835178,881,009144,859,00024,359,0002,117,632
9Jun 21, 2026 14:195,853179,473,051145,013,00024,738,0002,117,632