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 21, 2026 10:41olliecrowolliecrowScore: 3,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 10:433,665129,507,172105,292,0001,002,0002,453,504
2Apr 21, 2026 10:433,668127,590,403105,385,0001,003,0002,453,504
3Apr 21, 2026 10:433,668127,604,132105,382,0001,003,0002,449,408
4Apr 21, 2026 10:433,669128,643,816105,421,0001,004,0002,273,280
5Apr 21, 2026 10:433,670118,501,260105,435,0001,004,0002,273,280
6Apr 21, 2026 10:433,670138,567,983105,451,0001,004,0002,453,504
7Apr 21, 2026 10:433,685119,580,359104,879,0001,997,0002,277,376
8Apr 21, 2026 10:433,688118,620,753104,955,0001,999,0002,273,280
9Apr 21, 2026 10:433,701118,545,002105,333,0002,006,0002,273,280