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:03C#_userC#_userScore: 10,030Success
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:069,837295,592,259262,705,00022,591,0002,154,496
2Sep 7, 2026 07:069,849296,226,780262,951,00022,684,0002,154,496
3Sep 7, 2026 07:069,865296,523,043263,603,00022,506,0002,154,496
4Sep 7, 2026 07:069,949301,531,793264,597,00023,928,0002,150,400
5Sep 7, 2026 07:0610,030301,045,550266,396,00024,489,0002,150,400
6Sep 7, 2026 07:0610,034301,128,292264,137,00026,854,0002,150,400
7Sep 7, 2026 07:0610,138304,944,038266,413,00027,614,0002,154,496
8Sep 7, 2026 07:0610,158304,732,075265,916,00028,676,0002,154,496
9Sep 7, 2026 07:0610,202306,005,358266,950,00028,925,0002,154,496