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 listFeb 22, 2026 07:04olliecrowolliecrowScore: 3,761Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2026 07:043,758142,794,147106,997,0001,999,0002,285,568
2Feb 22, 2026 06:553,759137,732,249107,024,0002,000,0002,285,568
3Feb 22, 2026 07:043,759137,518,359106,020,0003,000,0002,285,568
4Feb 22, 2026 06:553,759135,891,084107,023,0002,000,0002,285,568
5Feb 22, 2026 06:553,760136,445,374107,045,0002,000,0002,293,760
6Feb 22, 2026 06:553,760136,567,456108,039,0001,000,0002,285,568
7Feb 22, 2026 06:553,761132,359,121108,066,0001,000,0002,281,472
8Feb 22, 2026 06:553,761137,951,492108,083,0001,000,0002,277,376
9Feb 22, 2026 07:043,761136,945,911108,059,0001,000,0002,285,568
10Feb 22, 2026 07:043,761134,804,562109,060,00002,523,136
11Feb 22, 2026 07:043,761132,777,750107,078,0002,001,0002,285,568
12Feb 22, 2026 07:043,761136,768,775108,082,0001,000,0002,285,568
13Feb 22, 2026 06:553,762134,551,424107,088,0002,001,0002,285,568
14Feb 22, 2026 06:553,762136,104,940107,108,0002,002,0002,523,136
15Feb 22, 2026 06:553,762135,096,790107,109,0002,002,0002,527,232
16Feb 22, 2026 07:043,762140,253,267107,093,0002,001,0002,514,944
17Feb 22, 2026 07:043,762134,062,383107,108,0002,002,0002,281,472
18Feb 22, 2026 07:043,763132,844,815108,117,0001,001,0002,527,232