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 listApr 22, 2026 09:20olliecrowolliecrowScore: 5,240Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2026 09:215,236164,731,511149,863,0001,998,0002,494,464
2Apr 22, 2026 09:215,236168,119,395149,866,0001,998,0002,494,464
3Apr 22, 2026 09:215,239168,650,497149,933,0001,999,0002,498,560
4Apr 22, 2026 09:215,239169,431,798149,951,0001,999,0002,506,752
5Apr 22, 2026 09:215,240173,122,262149,961,0001,999,0002,502,656
6Apr 22, 2026 09:215,240168,639,620149,983,0001,999,0002,502,656
7Apr 22, 2026 09:215,240167,716,076149,965,0001,999,0002,502,656
8Apr 22, 2026 09:215,242168,349,450150,045,0002,000,0002,502,656
9Apr 22, 2026 09:215,242172,904,306150,030,0002,000,0002,502,656