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:18olliecrowolliecrowScore: 3,694Success
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:133,692128,379,023106,082,0001,000,0002,281,472
2Mar 22, 2026 21:333,692141,883,987106,079,0001,000,0002,523,136
3Mar 22, 2026 21:333,692129,497,807105,075,0002,001,0002,281,472
4Mar 22, 2026 21:333,692134,768,299105,075,0002,001,0002,281,472
5Mar 22, 2026 21:333,692137,403,274105,070,0002,001,0002,523,136
6Feb 22, 2026 07:133,693130,917,804105,103,0002,001,0002,285,568
7Mar 22, 2026 21:333,693127,342,184105,098,0002,001,0002,293,760
8Mar 22, 2026 21:333,693131,639,629105,097,0002,001,0002,523,136
9Mar 22, 2026 21:333,693130,250,655105,090,0002,001,0002,293,760
10Feb 22, 2026 07:223,693130,499,892105,089,0002,001,0002,285,568
11Feb 22, 2026 07:183,693129,591,390105,096,0002,001,0002,269,184
12Feb 22, 2026 07:133,693131,101,577105,105,0002,002,0002,269,184
13Feb 22, 2026 07:133,694135,176,639105,134,0002,002,0002,527,232
14Feb 22, 2026 07:133,694136,703,231105,131,0002,002,0002,527,232
15Feb 22, 2026 07:133,694129,560,466105,117,0002,002,0002,285,568
16Mar 22, 2026 21:333,694130,423,034105,125,0002,002,0002,514,944
17Feb 22, 2026 07:183,695129,732,211105,147,0002,002,0002,285,568
18Feb 22, 2026 07:223,695128,927,681105,145,0002,002,0002,285,568
19Feb 22, 2026 07:223,696133,177,330106,183,0001,001,0002,527,232
20Feb 22, 2026 07:183,697131,823,100105,215,0002,004,0002,527,232
21Feb 22, 2026 07:133,697131,499,905106,202,0001,001,0002,281,472
22Mar 22, 2026 21:333,698137,029,845106,239,0001,002,0002,523,136
23Feb 22, 2026 07:133,699129,862,429106,274,0001,002,0002,281,472
24Feb 22, 2026 07:133,699136,382,113105,254,0002,004,0002,523,136