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 04:28olliecrowolliecrowScore: 8,616Success
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:178,604275,767,547248,524,0001,002,0002,277,376
2Feb 22, 2026 05:588,604275,830,260248,500,0001,002,0002,531,328
3Feb 22, 2026 05:588,605279,819,765248,532,0001,002,0002,531,328
4Feb 22, 2026 07:178,611281,183,175247,717,0001,997,0002,514,944
5Feb 22, 2026 05:028,611278,624,086246,723,0002,996,0002,285,568
6Feb 22, 2026 06:208,612275,954,311248,759,000999,0002,531,328
7Feb 22, 2026 01:568,613280,970,533248,783,000999,0002,531,328
8Feb 22, 2026 04:008,613276,527,691248,773,000999,0002,510,848
9Feb 22, 2026 06:308,613276,854,480248,787,0001,003,0002,514,944
10Feb 22, 2026 06:088,613275,099,989248,776,000999,0002,531,328
11Feb 22, 2026 06:308,614277,895,459247,818,0001,998,0002,273,280
12Feb 22, 2026 04:008,615274,805,890247,832,0001,998,0002,519,040
13Feb 22, 2026 06:088,615274,749,669247,850,0001,998,0002,519,040
14Feb 22, 2026 06:088,615273,581,137247,825,0001,998,0002,338,816
15Feb 22, 2026 01:568,616276,987,266248,877,000999,0002,531,328
16Feb 22, 2026 06:308,616282,777,301247,858,0001,998,0002,273,280
17Feb 22, 2026 05:028,616276,762,302248,853,000999,0002,273,280
18Feb 22, 2026 05:028,616279,977,648248,852,000999,0002,273,280
19Feb 22, 2026 03:348,616276,105,502247,874,0001,998,0002,514,944
20Feb 22, 2026 06:208,617279,500,750246,886,0002,998,0002,277,376
21Feb 22, 2026 07:178,617277,807,156247,890,0001,999,0002,502,656
22Feb 22, 2026 05:588,618277,694,362248,936,000999,0002,519,040
23Feb 22, 2026 04:288,620278,540,943247,990,0001,999,0002,289,664
24Feb 22, 2026 06:208,620277,135,597247,988,0001,999,0002,531,328
25Feb 22, 2026 03:348,621275,861,259248,006,0002,000,0002,527,232
26Feb 22, 2026 04:288,624279,252,743248,107,0002,000,0002,502,656
27Feb 22, 2026 03:348,628273,843,293248,206,0002,001,0002,277,376
28Feb 22, 2026 04:288,630271,870,684249,266,0001,001,0002,531,328
29Feb 22, 2026 01:568,632273,919,083249,332,0001,001,0002,273,280
30Feb 22, 2026 04:008,634273,682,456247,382,0003,004,0002,531,328