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:13Jack FrigaardJack FrigaardScore: 4,997Success
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:134,91765,127,15038,821,0001,990,0002,314,240
2Aug 2, 2025 20:134,91766,906,82737,827,0002,986,0002,519,040
3Aug 2, 2025 20:134,91965,437,78438,840,0001,991,0002,519,040
4Aug 2, 2025 20:134,92063,590,92838,794,0002,041,0002,519,040
5Aug 2, 2025 20:134,92364,793,28238,864,0001,993,0002,519,040
6Aug 2, 2025 20:134,92763,196,44837,899,0002,992,0002,457,600
7Aug 2, 2025 20:134,93164,726,44937,935,0002,994,0002,519,040
8Aug 2, 2025 20:134,93463,564,18138,959,0001,997,0002,265,088
9Aug 2, 2025 20:134,98072,082,63439,319,0002,016,0002,519,040
10Aug 2, 2025 20:134,99767,750,94240,466,0001,011,0002,519,040
11Aug 2, 2025 20:134,99766,336,85741,475,00002,519,040
12Aug 2, 2025 20:134,99766,139,69941,474,00002,445,312
13Aug 2, 2025 20:135,00165,230,31039,482,0002,024,0002,289,664
14Aug 2, 2025 20:135,00163,153,69639,483,0002,024,0002,519,040
15Aug 2, 2025 20:135,00672,157,27140,537,0001,013,0002,519,040
16Aug 2, 2025 20:135,01069,462,98039,556,0002,028,0002,277,376
17Aug 2, 2025 20:135,01068,109,30139,555,0002,028,0002,519,040
18Aug 2, 2025 20:135,06967,964,31639,066,0003,005,0002,519,040