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 listMay 3, 2026 19:57TudyMTudyMScore: 4,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 20:024,757155,403,803137,968,00002,379,776
2May 3, 2026 20:024,758154,644,224136,939,0001,054,0002,363,392
3May 3, 2026 20:024,762156,652,722137,081,0001,037,0002,363,392
4May 3, 2026 20:024,763156,713,544137,040,0001,087,0002,379,776
5May 3, 2026 20:024,764155,451,028137,087,0001,075,0002,367,488
6May 3, 2026 20:024,764155,578,993137,085,0001,074,0002,379,776
7May 3, 2026 20:024,764152,308,516137,094,0001,072,0002,375,680
8May 3, 2026 20:024,767156,055,844137,169,0001,079,0002,367,488
9May 3, 2026 20:024,787158,043,570137,775,0001,064,0002,367,488