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 28, 2026 09:51TudyMTudyMScore: 4,832Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2026 09:524,824160,084,378137,912,0001,998,0002,379,776
2Apr 28, 2026 09:524,825154,035,796137,951,0001,999,0002,449,408
3Apr 28, 2026 09:524,826159,036,608137,976,0001,999,0002,363,392
4Apr 28, 2026 09:524,827157,277,906137,994,0001,999,0002,371,584
5Apr 28, 2026 09:524,832162,969,316139,141,0001,001,0002,367,488
6Apr 28, 2026 09:524,835154,612,139138,239,0002,003,0002,306,048
7Apr 28, 2026 09:524,835161,687,292138,243,0001,989,0002,367,488
8Apr 28, 2026 09:524,838163,412,278140,306,00002,363,392
9Apr 28, 2026 09:524,843158,823,004140,465,00002,367,488