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 listSep 22, 2021 18:16Yuriy LyfenkoYuriy LyfenkoScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2021 18:165,432440,103,831157,520,588027,443,200
2Sep 22, 2021 18:165,482451,998,284158,974,078027,447,296
3Sep 22, 2021 18:165,483472,838,917159,010,013027,443,200
4Sep 22, 2021 18:165,571367,531,292132,093,00029,466,00033,796,096
5Sep 22, 2021 18:165,576370,032,311127,600,00034,091,00033,751,040
6Sep 22, 2021 18:165,589377,513,748127,695,00034,379,00034,947,072
7Sep 22, 2021 18:165,589362,915,910134,216,00027,875,00034,000,896
8Sep 22, 2021 18:165,601383,896,335134,681,00027,758,00034,058,240
9Sep 22, 2021 18:165,601353,735,590131,357,00031,084,00033,816,576
10Sep 22, 2021 18:165,623363,868,193140,687,00022,382,00034,025,472
11Sep 22, 2021 18:165,625380,884,351132,722,00030,394,00034,062,336
12Sep 22, 2021 18:165,629380,910,841136,915,00026,329,00034,021,376