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 listMar 21, 2026 16:52olliecrowolliecrowScore: 4,529Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 22, 2026 21:414,519157,693,488108,034,00023,007,0002,478,080
2Mar 22, 2026 21:414,520161,227,273108,075,00023,016,0002,490,368
3Mar 21, 2026 16:524,522156,912,600109,127,00022,025,0002,490,368
4Mar 21, 2026 16:524,529159,018,166108,291,00023,062,0002,473,984
5Mar 21, 2026 16:524,532154,536,620109,351,00022,070,0002,347,008
6Mar 22, 2026 21:414,555159,718,486108,084,00024,018,0002,473,984