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 21, 2021 05:45Yuriy LyfenkoYuriy LyfenkoScore: 6,248Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2021 05:456,217368,927,506148,598,00031,701,00033,906,688
2Sep 21, 2021 05:456,218364,486,185146,808,00033,500,00033,943,552
3Sep 21, 2021 05:456,235365,789,384154,104,00026,711,00033,681,408
4Sep 21, 2021 05:456,238369,141,698149,736,00031,153,00033,669,120
5Sep 21, 2021 05:456,238378,849,566158,697,00022,217,00033,898,496
6Sep 21, 2021 05:456,240391,481,666157,046,00023,920,00033,488,896
7Sep 21, 2021 05:456,248392,230,432154,419,00026,766,00033,894,400
8Sep 21, 2021 05:456,250395,248,523153,613,00027,650,00033,947,648
9Sep 21, 2021 05:456,253394,737,893154,538,00026,786,00033,652,736
10Sep 21, 2021 05:456,556494,606,070190,126,369027,447,296
11Sep 21, 2021 05:456,583510,395,754190,914,408027,455,488
12Sep 21, 2021 05:456,598539,288,703191,351,709027,443,200