Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listAug 16, 2025 13:26Ashish AhujaAshish AhujaScore: 19,846Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2025 13:3319,770186,307,744161,093,0003,001,0002,285,568
2Aug 16, 2025 13:3319,778186,220,250161,158,0003,002,0002,277,376
3Aug 16, 2025 13:3319,800185,655,595162,340,0002,004,0002,277,376
4Aug 16, 2025 13:3319,806192,155,148161,384,0003,007,0002,289,664
5Aug 16, 2025 13:3319,810187,780,647163,425,0001,002,0002,277,376
6Aug 16, 2025 13:3319,819194,977,079162,489,0002,006,0002,289,664
7Aug 16, 2025 13:3319,823197,809,933163,532,0001,003,0002,285,568
8Aug 16, 2025 13:3319,846189,627,593163,722,000998,0002,277,376
9Aug 16, 2025 13:2519,925191,241,101164,372,0001,002,0002,306,048
10Aug 16, 2025 13:2519,973189,668,956162,780,0002,995,0002,285,568
11Aug 16, 2025 13:2520,012192,854,126165,103,0001,000,0002,285,568
12Aug 16, 2025 13:3321,015197,078,866172,419,0002,004,0002,277,376
13Aug 16, 2025 13:2621,288205,058,366174,695,0001,996,0002,277,376
14Aug 16, 2025 13:2621,384203,130,002175,486,0002,005,0002,277,376
15Aug 16, 2025 13:2622,174207,062,487181,045,0003,000,0002,285,568