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 2, 2025 20:26Jack FrigaardJack FrigaardScore: 4,939Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 20:264,90267,017,70838,650,0002,034,0002,437,120
2Aug 2, 2025 20:264,90766,744,42138,691,0002,036,0002,519,040
3Aug 2, 2025 20:264,91770,800,38139,817,000995,0002,519,040
4Aug 2, 2025 20:254,91764,925,84137,829,0002,986,0002,449,408
5Aug 2, 2025 20:254,92064,949,88737,847,0002,987,0002,297,856
6Aug 2, 2025 20:264,92068,273,96639,844,000996,0002,445,312
7Aug 2, 2025 20:264,92168,541,63537,855,0002,988,0002,453,504
8Aug 2, 2025 20:254,93661,123,25638,971,0001,998,0002,449,408
9Aug 2, 2025 20:264,93767,512,24337,983,0002,998,0002,519,040
10Aug 2, 2025 20:264,93964,874,78238,997,0001,999,0002,519,040
11Aug 2, 2025 20:254,93964,134,52538,998,0001,999,0002,449,408
12Aug 2, 2025 20:254,94062,942,30437,999,0002,999,0002,514,944
13Aug 2, 2025 20:264,94464,129,15038,031,0003,002,0002,519,040
14Aug 2, 2025 20:264,94463,765,82939,033,0002,001,0002,519,040
15Aug 2, 2025 20:264,94467,821,69540,036,0001,000,0002,519,040
16Aug 2, 2025 20:264,94563,426,75439,044,0002,002,0002,449,408
17Aug 2, 2025 20:264,96464,218,91938,189,0003,014,0002,510,848
18Aug 2, 2025 20:255,01067,594,39140,565,0001,014,0002,265,088