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 20, 2026 15:24A_ShamanA_ShamanScore: 6,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2026 15:246,137189,164,902155,002,00022,984,0002,113,536
2Jun 20, 2026 15:246,143187,384,887154,882,00023,283,0002,117,632
3Jun 20, 2026 15:246,144187,846,112154,718,00023,463,0002,113,536
4Jun 20, 2026 15:246,146187,532,583154,952,00023,286,0002,113,536
5Jun 20, 2026 15:246,153188,136,769154,924,00023,524,0002,117,632
6Jun 20, 2026 15:246,160188,836,961154,934,00023,721,0002,117,632
7Jun 20, 2026 15:246,160188,460,494154,925,00023,731,0002,113,536
8Jun 20, 2026 15:246,163188,433,844154,903,00023,835,0002,113,536
9Jun 20, 2026 15:246,163188,494,261154,940,00023,803,0002,113,536