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 listApr 9, 2026 05:19olliecrowolliecrowScore: 4,557Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 23:264,536164,722,834109,457,00022,092,0002,473,984
2Apr 9, 2026 05:194,549162,653,276109,932,00021,986,0002,486,272
3Apr 9, 2026 17:464,549155,473,720110,938,00020,988,0002,478,080
4Apr 13, 2026 23:264,554159,107,683109,054,00023,011,0002,359,296
5Apr 9, 2026 17:464,557158,540,669109,115,00023,024,0002,473,984
6Apr 9, 2026 05:194,559156,189,937109,175,00023,037,0002,297,856
7Apr 9, 2026 17:464,567169,124,986109,362,00023,076,0002,478,080
8Apr 9, 2026 05:194,568159,351,665110,390,00022,078,0002,437,120
9Apr 13, 2026 23:264,569161,981,686110,421,00022,084,0002,359,296