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:33Jack FrigaardJack FrigaardScore: 4,931Success
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:334,89567,164,87238,598,0002,031,0002,519,040
2Aug 2, 2025 20:334,90266,879,45938,653,0002,034,0002,519,040
3Aug 2, 2025 20:334,91770,233,36437,827,0002,986,0002,437,120
4Aug 2, 2025 20:334,91866,022,00137,830,0002,986,0002,519,040
5Aug 2, 2025 20:334,91865,784,28237,830,0002,986,0002,519,040
6Aug 2, 2025 20:334,91968,193,92837,844,0002,987,0002,449,408
7Aug 2, 2025 20:334,91968,960,95938,838,0001,991,0002,445,312
8Aug 2, 2025 20:334,92071,342,28837,851,0002,988,0002,449,408
9Aug 2, 2025 20:334,92764,009,05937,900,0002,992,0002,445,312
10Aug 2, 2025 20:334,93166,974,65438,931,0001,996,0002,449,408
11Aug 2, 2025 20:334,93268,758,89638,939,0001,996,0002,519,040
12Aug 2, 2025 20:334,93762,363,88039,981,000999,0002,519,040
13Aug 2, 2025 20:334,93961,125,18338,995,0001,999,0002,441,216
14Aug 2, 2025 20:334,94267,179,42539,019,0002,001,0002,519,040
15Aug 2, 2025 20:334,94561,452,12739,040,0002,002,0002,519,040
16Aug 2, 2025 20:334,94571,091,69438,042,0003,003,0002,445,312
17Aug 2, 2025 20:334,94764,320,33838,053,0003,004,0002,519,040
18Aug 2, 2025 20:334,95764,485,66639,137,0002,007,0002,519,040