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 listApr 20, 2026 17:48olliecrowolliecrowScore: 4,089Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 17:484,087144,556,006117,536,0001,004,0002,379,776
2Apr 20, 2026 17:484,087139,607,338117,525,0001,004,0002,387,968
3Apr 20, 2026 17:484,088148,645,783117,551,0001,004,0002,383,872
4Apr 20, 2026 17:484,089143,677,285117,583,0001,004,0002,379,776
5Apr 20, 2026 17:484,089145,561,492117,603,0001,005,0002,371,584
6Apr 20, 2026 17:484,090146,561,124117,626,0001,005,0002,383,872
7Apr 20, 2026 17:484,090144,656,236117,614,0001,005,0002,371,584
8Apr 20, 2026 17:484,090144,675,517117,620,0001,005,0002,269,184
9Apr 20, 2026 17:484,095148,605,252117,763,000997,0002,273,280