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 listAug 16, 2026 22:52Tomislav TunkovicTomislav TunkovicScore: 9,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 23:569,642288,012,780276,426,0003,219,00045,056
2Aug 16, 2026 23:569,644288,137,164276,440,0003,255,00045,056
3Aug 16, 2026 23:569,644288,105,087276,469,0003,217,00045,056
4Aug 16, 2026 23:569,645288,181,589276,515,0003,202,00045,056
5Aug 16, 2026 23:569,649288,200,912276,674,0003,168,00045,056
6Aug 16, 2026 23:569,652288,183,441276,529,0003,395,00045,056
7Aug 16, 2026 23:569,655288,445,773276,729,0003,275,00045,056
8Aug 16, 2026 23:569,659288,572,503276,809,0003,327,00045,056
9Aug 16, 2026 23:569,690289,645,880276,685,0004,328,00045,056