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 listJan 2, 2026 05:41Josu San MartinJosu San MartinScore: 5,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 05:415,154175,295,322148,462,0001,003,0002,375,680
2Jan 2, 2026 05:415,154170,565,357148,470,0001,003,0002,281,472
3Jan 2, 2026 05:415,156171,289,996148,523,0001,003,0002,281,472
4Jan 2, 2026 05:415,156170,516,415149,534,00002,293,760
5Jan 2, 2026 05:415,157175,105,735148,546,0001,003,0002,281,472
6Jan 2, 2026 05:415,157170,688,322148,556,0001,003,0002,281,472
7Jan 2, 2026 05:415,158176,611,332148,585,0001,003,0002,281,472
8Jan 2, 2026 05:415,158180,176,099148,587,0001,003,0002,375,680
9Jan 2, 2026 05:415,159173,662,630148,604,0001,004,0002,273,280