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 listFeb 26, 2026 03:21Josu San MartinJosu San MartinScore: 3,822Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 04:443,822137,489,215109,828,000998,0002,371,584
2Jan 3, 2026 04:443,822139,103,477108,831,0001,996,0002,363,392
3Jan 3, 2026 04:443,822141,316,945109,835,000998,0002,371,584
4Jan 3, 2026 04:443,822139,720,591109,842,000998,0002,383,872
5Jan 3, 2026 04:443,822137,571,239109,844,000998,0002,371,584
6Jan 3, 2026 04:443,822135,995,818109,845,000998,0002,379,776
7Jan 3, 2026 04:443,822135,938,468109,847,000998,0002,371,584
8Jan 3, 2026 04:443,822134,676,279108,854,0001,997,0002,375,680
9Feb 26, 2026 03:213,822138,120,196108,841,0001,997,0002,375,680
10Jan 3, 2026 04:443,823131,670,487110,865,00002,371,584
11Feb 26, 2026 03:213,823133,355,885109,858,000998,0002,367,488
12Feb 26, 2026 03:213,824134,597,053108,886,0001,997,0002,363,392