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 listOct 11, 2021 03:53Yuriy LyfenkoYuriy LyfenkoScore: 6,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2021 03:535,959505,390,988172,807,404027,443,200
2Oct 11, 2021 03:535,980469,700,316173,423,874027,369,472
3Oct 11, 2021 03:536,029484,209,049174,836,937027,443,200
4Oct 11, 2021 03:536,280388,769,015156,394,00025,722,00033,533,952
5Oct 11, 2021 03:536,285379,365,733159,225,00023,045,00034,009,088
6Oct 11, 2021 03:536,289381,006,096157,644,00024,728,00033,767,424
7Oct 11, 2021 03:536,292386,779,408148,488,00033,967,00033,755,136
8Oct 11, 2021 03:536,296383,136,508162,420,00020,169,00034,058,240
9Oct 11, 2021 03:536,297391,740,870151,685,00030,935,00034,271,232
10Oct 11, 2021 03:536,309366,337,083155,673,00027,293,00033,804,288
11Oct 11, 2021 03:536,313388,961,504148,625,00034,449,00034,004,992
12Oct 11, 2021 03:536,327376,462,448163,214,00020,268,00034,041,856