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
Feb 26, 2026 04:29Josu San MartinJosu San MartinCPPg++13.3.0Success3,870
Feb 26, 2026 03:48Josu San MartinJosu San MartinCPPg++13.3.0Success3,777+31.17 RP
Feb 26, 2026 03:38Josu San MartinJosu San MartinCPPg++13.3.0Success3,901
Feb 26, 2026 03:32Josu San MartinJosu San MartinCPPg++13.3.0Success3,890
Feb 26, 2026 03:31Josu San MartinJosu San MartinCPPclang++18.1.3Success4,339
Feb 26, 2026 03:29Josu San MartinJosu San MartinCPPg++13.3.0Success3,889
Feb 26, 2026 03:25Josu San MartinJosu San MartinCPPg++13.3.0Success3,904
Feb 26, 2026 03:21Josu San MartinJosu San MartinCPPg++13.3.0Success3,822+2.74 RP
Feb 26, 2026 03:20Josu San MartinJosu San MartinCPPclang++18.1.3Success4,485
Feb 26, 2026 03:19Josu San MartinJosu San MartinCPPg++13.3.0Success3,916
Feb 22, 2026 07:18olliecrowolliecrowCPPclang++18.1.3Success3,694+1.46 RP
Feb 22, 2026 07:09olliecrowolliecrowCPPclang++18.1.3Success3,695+94.98 RP
Feb 22, 2026 07:04olliecrowolliecrowCPPclang++18.1.3Success3,761+2.82 RP
Feb 22, 2026 07:01olliecrowolliecrowCPPclang++18.1.3Success3,763
Feb 22, 2026 06:48olliecrowolliecrowCPPclang++18.1.3Success3,763+222.90 RP
Feb 22, 2026 06:41olliecrowolliecrowCPPclang++18.1.3Success4,101
Feb 22, 2026 06:35olliecrowolliecrowCPPclang++18.1.3Success4,039
Feb 22, 2026 06:25olliecrowolliecrowCPPclang++18.1.3Success4,039
Feb 22, 2026 06:04olliecrowolliecrowCPPclang++18.1.3Success4,039
Feb 22, 2026 05:54olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 05:45olliecrowolliecrowCPPclang++18.1.3Success4,099
Feb 22, 2026 05:30olliecrowolliecrowCPPclang++18.1.3Success4,035+38.10 RP
Feb 22, 2026 05:23olliecrowolliecrowCPPclang++18.1.3Success4,151
Feb 22, 2026 05:14olliecrowolliecrowCPPclang++18.1.3Success4,099
Feb 22, 2026 05:09olliecrowolliecrowCPPclang++18.1.3Success4,120
Feb 22, 2026 04:52olliecrowolliecrowCPPclang++18.1.3Success4,098
Feb 22, 2026 04:47olliecrowolliecrowCPPclang++18.1.3Success4,098+52.44 RP
Feb 22, 2026 04:41olliecrowolliecrowCPPclang++18.1.3Success4,188+1.71 RP
Feb 22, 2026 04:28olliecrowolliecrowCPPclang++18.1.3Success8,616
Feb 22, 2026 04:23olliecrowolliecrowCPPclang++18.1.3Success4,348
Feb 22, 2026 04:14olliecrowolliecrowCPPclang++18.1.3Success4,202
Feb 22, 2026 04:05olliecrowolliecrowCPPclang++18.1.3Success4,270
Feb 22, 2026 03:55olliecrowolliecrowCPPclang++18.1.3Success4,191+359.31 RP
Feb 22, 2026 03:40olliecrowolliecrowCPPclang++18.1.3Success5,001
Feb 22, 2026 03:29olliecrowolliecrowCPPclang++18.1.3Success4,937
Feb 22, 2026 03:20olliecrowolliecrowCPPg++13.3.0Success5,411
Feb 22, 2026 03:12olliecrowolliecrowCPPclang++18.1.3Success4,938
Feb 22, 2026 03:04olliecrowolliecrowCPPclang++18.1.3Success4,934+490.42 RP
Feb 22, 2026 02:56olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 02:47olliecrowolliecrowCPPclang++18.1.3Success6,697
Feb 22, 2026 02:42olliecrowolliecrowCPPclang++18.1.3Success6,629
Feb 22, 2026 02:34olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 02:29olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 02:20olliecrowolliecrowCPPclang++18.1.3Success6,599
Feb 22, 2026 02:15olliecrowolliecrowCPPclang++18.1.3Success6,904
Feb 22, 2026 02:09olliecrowolliecrowCPPclang++18.1.3Success6,509+1.18 RP
Feb 22, 2026 02:03olliecrowolliecrowCPPclang++18.1.3Success6,605
Feb 22, 2026 01:58olliecrowolliecrowCPPclang++18.1.3Success6,561
Feb 22, 2026 01:55olliecrowolliecrowCPPclang++18.1.3Success6,592
Feb 22, 2026 01:54olliecrowolliecrowCPPclang++18.1.3Error
Feb 22, 2026 01:53olliecrowolliecrowCPPg++13.3.0Success7,185
Feb 22, 2026 01:50olliecrowolliecrowCPPclang++18.1.3Success6,514+16.32 RP
Feb 22, 2026 01:47olliecrowolliecrowCPPclang++18.1.3Success6,584+6.89 RP
Feb 22, 2026 01:43olliecrowolliecrowCPPclang++18.1.3Success6,614+1'511.94 RP
Jan 7, 2026 06:09Gavin RohrerGavin RohrerRUSTrust-1.92.0Success8,592+2.84 RP
Jan 7, 2026 06:01Gavin RohrerGavin RohrerRUSTrust-1.92.0Success8,613+1'161.04 RP
Jan 7, 2026 06:00Gavin RohrerGavin RohrerRUSTrust-1.92.0Error
Jan 7, 2026 05:41Gavin RohrerGavin RohrerRUSTrust-1.92.0Error
Jan 7, 2026 05:40Gavin RohrerGavin RohrerRUSTrust-1.92.0Error
Jan 7, 2026 05:26Gavin RohrerGavin RohrerRUSTrust-1.92.0Error
Jan 7, 2026 05:25Gavin RohrerGavin RohrerRUSTrust-1.92.0Error
Jan 7, 2026 04:46Josu San MartinJosu San MartinGOgo1.25.5Success4,168+344.16 RP
Jan 4, 2026 04:42Josu San MartinJosu San MartinGOgo1.25.5Success4,866+194.26 RP
Jan 4, 2026 04:11Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,384
Jan 4, 2026 04:11Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,378
Jan 4, 2026 03:52Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,536
Jan 4, 2026 03:51Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,235+138.06 RP
Jan 3, 2026 07:54KeefeKeefeCPPg++13.3.0Error
Jan 3, 2026 07:33KeefeKeefeCPPg++13.3.0Success5,061
Jan 3, 2026 07:25KeefeKeefeCPPg++13.3.0Error
Jan 3, 2026 07:16KeefeKeefeCPPg++13.3.0Success4,600+76.16 RP
Jan 3, 2026 06:50KeefeKeefeCPPg++13.3.0Success4,767+224.04 RP
Jan 3, 2026 06:36KeefeKeefeCPPg++13.3.0Success5,337+78.70 RP
Jan 3, 2026 06:30KeefeKeefeCPPg++13.3.0Error
Jan 3, 2026 06:27KeefeKeefeCPPclang++18.1.3Success5,747
Jan 3, 2026 06:27KeefeKeefeCPPg++13.3.0Success5,571+82.97 RP
Jan 3, 2026 06:21KeefeKeefeCPPg++13.3.0Success5,841+282.03 RP
Jan 3, 2026 06:12KeefeKeefeCPPg++13.3.0Success7,891
Jan 3, 2026 04:59Josu San MartinJosu San MartinGOgo1.25.5Success5,374+136.08 RP
Jan 3, 2026 04:50Josu San MartinJosu San MartinGOgo1.25.5Success5,821
Jan 3, 2026 04:50Josu San MartinJosu San MartinCPPg++13.3.0Success3,826+67.44 RP
Jan 3, 2026 04:50Josu San MartinJosu San MartinGOgo1.25.5Success5,798+253.71 RP
Jan 3, 2026 04:45Josu San MartinJosu San MartinCPPg++13.3.0Success3,876+327.88 RP
Jan 3, 2026 04:42Josu San MartinJosu San MartinGOgo1.25.5Error
Jan 3, 2026 04:42Josu San MartinJosu San MartinCPPg++13.3.0Success4,327
Jan 3, 2026 04:40Josu San MartinJosu San MartinCPPg++13.3.0Success4,139+95.00 RP
Jan 3, 2026 04:40Josu San MartinJosu San MartinGOgo1.25.5Error
Jan 3, 2026 04:36Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,498+9.35 RP
Jan 3, 2026 04:36Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,517+3.91 RP
Jan 3, 2026 04:29Josu San MartinJosu San MartinGOgo1.25.5Error
Jan 3, 2026 04:23Josu San MartinJosu San MartinGOgo1.25.5Error
Jan 3, 2026 04:19Josu San MartinJosu San MartinCPPg++13.3.0Success4,339
Jan 3, 2026 04:06Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,525+27.97 RP
Jan 3, 2026 04:06Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,752
Jan 3, 2026 04:01Josu San MartinJosu San MartinCPPg++13.3.0Success4,222+58.18 RP
Jan 3, 2026 04:00Josu San MartinJosu San MartinCPPg++13.3.0Success4,377
Jan 3, 2026 04:00Josu San MartinJosu San MartinCPPg++13.3.0Success4,359
Jan 3, 2026 03:57Josu San MartinJosu San MartinCPPclang++18.1.3Success4,620
Jan 3, 2026 03:56Josu San MartinJosu San MartinCPPg++13.3.0Success4,280+154.47 RP
Jan 3, 2026 03:46Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,583+289.80 RP