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 12, 2026 01:10Yuriy LyfenkoYuriy LyfenkoScore: 3,564Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 12, 2026 01:063,556129,937,255101,112,0002,002,0002,260,992
2Apr 12, 2026 01:063,559126,220,086102,203,0001,001,0002,523,136
3Apr 12, 2026 01:063,560127,828,634101,232,0002,004,0002,387,968
4Apr 12, 2026 01:063,560127,455,403103,237,00002,260,992
5Apr 12, 2026 01:063,561130,710,739102,257,0001,002,0002,265,088
6Apr 12, 2026 01:103,563133,860,436102,327,0001,003,0002,396,160
7Apr 12, 2026 01:063,564130,947,677102,365,0001,003,0002,265,088
8Apr 12, 2026 01:063,565124,509,450102,393,0001,003,0002,265,088
9Apr 12, 2026 01:063,566123,208,645102,398,0001,003,0002,265,088
10Apr 12, 2026 01:103,568130,249,978103,461,00002,506,752
11Apr 12, 2026 01:063,570127,763,146102,527,0001,005,0002,265,088
12Apr 12, 2026 01:103,571134,633,804102,554,0001,005,0002,265,088