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 7, 2026 07:37C#_userC#_userScore: 10,035Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2026 07:419,749292,805,258262,052,00020,671,0002,154,496
2Sep 7, 2026 07:419,859296,345,885265,223,00020,714,0002,154,496
3Sep 7, 2026 07:419,998300,191,717265,544,00024,405,0002,150,400
4Sep 7, 2026 07:4110,005300,629,850265,880,00024,280,0002,150,400
5Sep 7, 2026 07:4110,035301,261,153265,799,00025,218,0002,154,496
6Sep 7, 2026 07:4110,127303,783,515266,173,00027,518,0002,154,496
7Sep 7, 2026 07:4110,143304,232,271266,061,00028,101,0002,154,496
8Sep 7, 2026 07:4110,158304,713,496267,065,00027,530,0002,150,400
9Sep 7, 2026 07:4110,170305,113,406266,324,00028,624,0002,154,496