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:24Jack FrigaardJack FrigaardScore: 4,943Success
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:244,91865,539,59337,835,0002,987,0002,441,216
2Aug 2, 2025 20:244,91967,886,92538,837,0001,991,0002,519,040
3Aug 2, 2025 20:244,91967,644,87837,844,0002,987,0002,519,040
4Aug 2, 2025 20:244,92074,181,22737,845,0002,987,0002,519,040
5Aug 2, 2025 20:244,92166,349,59737,857,0002,988,0002,519,040
6Aug 2, 2025 20:244,92167,999,46937,857,0002,988,0002,510,848
7Aug 2, 2025 20:244,92266,325,88837,865,0002,989,0002,519,040
8Aug 2, 2025 20:244,93069,011,13937,924,0002,994,0002,453,504
9Aug 2, 2025 20:244,94166,007,89439,008,0002,000,0002,441,216
10Aug 2, 2025 20:244,94363,563,65039,023,0002,001,0002,519,040
11Aug 2, 2025 20:244,94365,172,98138,027,0003,002,0002,449,408
12Aug 2, 2025 20:244,94664,397,94038,047,0003,003,0002,514,944
13Aug 2, 2025 20:244,95762,982,87538,137,0003,010,0002,519,040
14Aug 2, 2025 20:244,96163,752,68539,165,0002,008,0002,519,040
15Aug 2, 2025 20:244,96463,673,21338,184,0003,014,0002,273,280
16Aug 2, 2025 20:245,01170,618,33639,562,0002,028,0002,519,040
17Aug 2, 2025 20:245,01370,849,16239,583,0002,029,0002,453,504
18Aug 2, 2025 20:245,01868,086,50539,615,0002,031,0002,519,040