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:43Jack FrigaardJack FrigaardScore: 5,001Success
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:434,85263,566,38137,249,0003,020,0002,473,984
2Aug 2, 2025 20:434,85772,336,48837,289,0003,023,0002,482,176
3Aug 2, 2025 20:434,87263,327,48438,416,0002,021,0002,281,472
4Aug 2, 2025 20:435,00165,755,70640,499,0001,012,0002,281,472
5Aug 2, 2025 20:435,00164,322,55740,498,0001,012,0002,281,472
6Aug 2, 2025 20:435,00262,012,73039,488,0002,025,0002,281,472