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:30Jack FrigaardJack FrigaardScore: 4,754Success
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:304,68061,703,79935,856,0002,988,0002,519,040
2Aug 2, 2025 20:304,68264,069,58735,872,0002,989,0002,449,408
3Aug 2, 2025 20:304,71365,934,81736,106,0003,008,0002,441,216
4Aug 2, 2025 20:304,75467,807,03839,458,00002,445,312
5Aug 2, 2025 20:304,77368,528,91137,587,0002,031,0002,519,040
6Aug 2, 2025 20:304,77966,005,45137,629,0002,034,0002,445,312