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.

Date AuthorLanguageStatus Score
Apr 20, 2026 16:28BenBenCPPg++13.3.0Success7,035+1'421.46 RP
Apr 20, 2026 14:41olliecrowolliecrowZIG0.14.0Success3,719
Apr 20, 2026 14:40olliecrowolliecrowRUSTrust-1.94.0Success3,754
Apr 20, 2026 14:37olliecrowolliecrowCPPg++13.3.0Error
Apr 20, 2026 14:10Dominique GarmierDominique GarmierCPPclang++18.1.3Success7,811
Apr 20, 2026 13:45Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,362
Apr 20, 2026 13:42Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,187
Apr 20, 2026 12:49Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,321
Apr 20, 2026 12:28Dominique GarmierDominique GarmierCPPclang++18.1.3Success6,325
Apr 19, 2026 09:13olliecrowolliecrowCPPclang++18.1.3Success3,718
Apr 19, 2026 07:17olliecrowolliecrowCPPclang++18.1.3Error
Apr 19, 2026 07:14olliecrowolliecrowCPPclang++18.1.3Success3,691
Apr 19, 2026 07:14olliecrowolliecrowCPPclang++18.1.3Success3,709
Apr 19, 2026 07:13olliecrowolliecrowCPPclang++18.1.3Success3,718
Apr 19, 2026 07:13olliecrowolliecrowCPPclang++18.1.3Success3,720
Apr 19, 2026 06:51olliecrowolliecrowCPPclang++18.1.3Success3,798
Apr 19, 2026 06:43olliecrowolliecrowCPPclang++18.1.3Success3,742
Apr 19, 2026 06:37olliecrowolliecrowCPPclang++18.1.3Error
Apr 19, 2026 03:16olliecrowolliecrowCPPclang++18.1.3Success3,726
Apr 19, 2026 03:14olliecrowolliecrowCPPclang++18.1.3Success3,781
Apr 18, 2026 22:03Charles CabergsCharles CabergsCPPg++13.3.0Success5,414+55.27 RP
Apr 18, 2026 20:08olliecrowolliecrowRUSTrust-1.94.0Success3,843
Apr 18, 2026 20:03olliecrowolliecrowRUSTrust-1.94.0Error
Apr 18, 2026 19:38olliecrowolliecrowCSHARP9.0.14Success5,544
Apr 18, 2026 17:45Charles CabergsCharles CabergsCPPg++13.3.0Success5,581+4.16 RP
Apr 18, 2026 15:31Charles CabergsCharles CabergsCPPg++13.3.0Success5,594+112.31 RP
Apr 18, 2026 13:10Charles CabergsCharles CabergsCPPg++13.3.0Success5,969+57.98 RP
Apr 18, 2026 12:01Charles CabergsCharles CabergsCPPg++13.3.0Success6,183+478.65 RP
Apr 17, 2026 22:12Charles CabergsCharles CabergsCPPg++13.3.0Success8,782+338.95 RP
Apr 17, 2026 20:29Charles CabergsCharles CabergsCPPg++13.3.0Success17,527
Apr 17, 2026 18:21Charles CabergsCharles CabergsCPPg++13.3.0Success12,504+799.74 RP
Apr 16, 2026 22:07olliecrowolliecrowCSHARP9.0.14Success10,757
Apr 16, 2026 21:32olliecrowolliecrowRUSTrust-1.94.0Success3,754
Apr 16, 2026 21:17olliecrowolliecrowZIG0.14.0Success3,656+46.56 RP
Apr 16, 2026 21:13olliecrowolliecrowCPPclang++18.1.3Error
Apr 16, 2026 21:09olliecrowolliecrowGOgo1.26.1Success5,572
Apr 16, 2026 21:03olliecrowolliecrowGOgo1.26.1Error
Apr 16, 2026 18:09olliecrowolliecrowGOgo1.26.1Success6,043
Apr 16, 2026 17:31olliecrowolliecrowGOgo1.26.1Success6,656
Apr 16, 2026 17:28olliecrowolliecrowGOgo1.26.1Success4,185
Apr 16, 2026 17:02olliecrowolliecrowGOgo1.26.1Error
Apr 16, 2026 16:57olliecrowolliecrowGOgo1.26.1Success6,052
Apr 16, 2026 16:16olliecrowolliecrowGOgo1.26.1Error
Apr 16, 2026 16:14olliecrowolliecrowGOgo1.26.1Success4,101+39.20 RP
Apr 16, 2026 16:11olliecrowolliecrowGOgo1.26.1Success6,318
Apr 16, 2026 14:47limanjun99limanjun99CPPg++13.3.0Success4,292+73.60 RP
Apr 16, 2026 14:44limanjun99limanjun99CPPg++13.3.0Success4,483
Apr 16, 2026 14:43limanjun99limanjun99CPPg++13.3.0Success4,482
Apr 16, 2026 14:42limanjun99limanjun99CPPg++13.3.0Success4,463
Apr 16, 2026 14:41limanjun99limanjun99CPPg++13.3.0Success4,517
Apr 16, 2026 14:34limanjun99limanjun99CPPg++13.3.0Success4,432+108.09 RP
Apr 16, 2026 14:33limanjun99limanjun99CPPg++13.3.0Success4,684
Apr 16, 2026 14:32limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 13:53limanjun99limanjun99CPPg++13.3.0Success4,655+143.01 RP
Apr 16, 2026 13:51limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 13:46limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 13:42limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 13:40limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 13:31limanjun99limanjun99CPPg++13.3.0Success5,197
Apr 16, 2026 13:29limanjun99limanjun99CPPg++13.3.0Success4,987+83.61 RP
Apr 16, 2026 10:30limanjun99limanjun99CPPg++13.3.0Success5,217
Apr 16, 2026 10:28limanjun99limanjun99CPPg++13.3.0Success5,204+30.17 RP
Apr 16, 2026 10:26limanjun99limanjun99CPPg++13.3.0Success5,287+22.62 RP
Apr 16, 2026 10:22limanjun99limanjun99CPPg++13.3.0Success5,351+16.27 RP
Apr 16, 2026 10:20limanjun99limanjun99CPPg++13.3.0Success5,398+14.98 RP
Apr 16, 2026 10:16limanjun99limanjun99CPPg++13.3.0Success5,442+3.37 RP
Apr 16, 2026 10:15limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 10:12limanjun99limanjun99CPPg++13.3.0Success5,452+32.06 RP
Apr 16, 2026 10:06limanjun99limanjun99CPPg++13.3.0Success5,549+40.01 RP
Apr 16, 2026 10:05limanjun99limanjun99CPPg++13.3.0Success6,074
Apr 16, 2026 10:03limanjun99limanjun99CPPg++13.3.0Success5,738
Apr 16, 2026 09:50limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 09:49limanjun99limanjun99CPPg++13.3.0Error
Apr 16, 2026 03:35olliecrowolliecrowCPPclang++18.1.3Error
Apr 16, 2026 03:33olliecrowolliecrowCPPclang++18.1.3Error
Apr 16, 2026 02:26olliecrowolliecrowCPPclang++18.1.3Success4,019
Apr 16, 2026 02:23olliecrowolliecrowCPPclang++18.1.3Success4,018
Apr 16, 2026 02:18olliecrowolliecrowCPPclang++18.1.3Error
Apr 13, 2026 23:28olliecrowolliecrowRUSTrust-1.94.1Success3,677
Apr 12, 2026 05:42Josu San MartinJosu San MartinCPPg++13.3.0Success3,393+5.20 RP
Apr 12, 2026 05:40Josu San MartinJosu San MartinCPPg++13.3.0Success3,419
Apr 12, 2026 05:39Josu San MartinJosu San MartinCPPg++13.3.0Success3,478
Apr 12, 2026 03:16Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,160
Apr 12, 2026 03:12Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,160
Apr 12, 2026 03:11Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,434
Apr 12, 2026 03:04Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,159+1.00 RP
Apr 12, 2026 03:03Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,161
Apr 12, 2026 03:02Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,397
Apr 12, 2026 03:00Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,160
Apr 12, 2026 02:59Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,160+1.00 RP
Apr 12, 2026 02:37Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,161+1.00 RP
Apr 12, 2026 02:36Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,168
Apr 12, 2026 02:32Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,180
Apr 12, 2026 02:23Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,167
Apr 12, 2026 02:22Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Error
Apr 12, 2026 02:20Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,162+4.99 RP
Apr 12, 2026 02:17Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,167+67.33 RP
Apr 12, 2026 02:05Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,236
Apr 12, 2026 02:04Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,236
Apr 12, 2026 02:04Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,340