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:45C#_userC#_userScore: 9,931Success
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:529,705291,881,351257,090,00024,355,0002,154,496
2Sep 10, 2026 14:529,761294,065,352258,190,00024,882,0002,150,400
3Sep 10, 2026 14:529,827295,380,909259,456,00025,530,0002,154,496
4Sep 10, 2026 14:529,883296,917,894260,031,00026,595,0002,150,400
5Sep 10, 2026 14:529,931298,322,100259,370,00028,645,0002,154,496
6Sep 10, 2026 14:529,946298,643,971260,370,00028,089,0002,154,496
7Sep 10, 2026 14:529,976299,943,091260,013,00029,302,0002,154,496
8Sep 10, 2026 14:529,987299,843,575260,655,00028,984,0002,150,400
9Sep 10, 2026 14:5210,001300,563,302260,302,00029,731,0002,154,496