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 21, 2026 00:20olliecrowolliecrowScore: 3,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 00:203,692130,783,855105,067,0002,001,0002,289,664
2Apr 21, 2026 00:203,693128,519,580105,116,0002,002,0002,498,560
3Apr 21, 2026 00:203,694132,591,472106,131,0001,001,0002,248,704
4Apr 21, 2026 00:203,695130,633,230105,159,0002,003,0002,248,704
5Apr 21, 2026 00:203,695126,674,946106,171,0001,001,0002,277,376
6Apr 21, 2026 00:203,696131,527,749105,191,0002,003,0002,252,800
7Apr 21, 2026 00:203,696132,547,551106,183,0001,001,0002,277,376
8Apr 21, 2026 00:203,699134,701,715105,285,0002,005,0002,248,704
9Apr 21, 2026 00:203,718121,764,765105,842,0001,997,0002,289,664