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 12, 2026 01:23Yuriy LyfenkoYuriy LyfenkoScore: 3,558Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 12, 2026 01:183,545127,791,460102,802,00002,277,376
2Apr 12, 2026 01:233,546131,149,690101,836,000998,0002,281,472
3Apr 12, 2026 01:233,546133,296,188102,831,00002,281,472
4Apr 12, 2026 01:183,549125,935,881100,937,0001,998,0002,281,472
5Apr 12, 2026 01:183,550130,350,214101,947,000999,0002,273,280
6Apr 12, 2026 01:183,550125,333,638101,943,000999,0002,281,472
7Apr 12, 2026 01:233,550136,529,899101,956,000999,0002,404,352
8Apr 12, 2026 01:183,551126,358,440100,981,0001,999,0002,281,472
9Apr 12, 2026 01:233,551130,180,387101,980,000999,0002,281,472
10Apr 12, 2026 01:183,558125,665,871102,177,0001,001,0002,281,472
11Apr 12, 2026 01:233,558129,925,016101,174,0002,003,0002,281,472
12Apr 12, 2026 01:183,559130,202,098102,212,0001,002,0002,281,472
13Apr 12, 2026 01:233,560130,483,683102,231,0001,002,0002,281,472
14Apr 12, 2026 01:233,560127,379,627103,254,00002,281,472
15Apr 12, 2026 01:183,562133,395,076103,298,00002,273,280
16Apr 12, 2026 01:183,562126,973,004103,309,00002,392,064
17Apr 12, 2026 01:233,562132,009,217102,305,0001,002,0002,281,472
18Apr 12, 2026 01:233,563124,880,692102,327,0001,003,0002,281,472