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 25, 2026 04:07limanjun99limanjun99Score: 4,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2026 04:074,513148,726,945127,894,0002,997,0002,342,912
2Apr 25, 2026 04:074,515147,814,959127,949,0002,998,0002,347,008
3Apr 25, 2026 04:074,516149,222,163128,990,0001,999,0002,330,624
4Apr 25, 2026 04:074,516150,283,481128,991,0001,999,0002,334,720
5Apr 25, 2026 04:074,517152,957,837129,000,0002,000,0002,330,624
6Apr 25, 2026 04:074,517149,815,294129,009,0002,000,0002,342,912
7Apr 25, 2026 04:074,517151,577,989129,005,0002,000,0002,351,104
8Apr 25, 2026 04:074,521147,618,737130,111,0001,000,0002,334,720
9Apr 25, 2026 04:074,521150,573,669129,108,0002,001,0002,351,104