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 listSep 10, 2026 14:38C#_userC#_userScore: 9,966Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 10, 2026 14:419,805294,783,100258,926,00025,432,0002,154,496
2Sep 10, 2026 14:419,849295,946,666259,386,00026,237,0002,150,400
3Sep 10, 2026 14:419,889297,045,817259,662,00027,139,0002,154,496
4Sep 10, 2026 14:419,960299,346,845260,645,00028,198,0002,150,400
5Sep 10, 2026 14:419,966299,424,731260,741,00028,292,0002,150,400
6Sep 10, 2026 14:419,975299,595,790261,360,00027,923,0002,150,400
7Sep 10, 2026 14:4110,008301,567,652259,876,00030,379,0002,154,496
8Sep 10, 2026 14:4110,033301,190,093261,085,00029,878,0002,154,496
9Sep 10, 2026 14:4110,086303,873,864261,540,00030,960,0002,154,496