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:25Jack FrigaardJack FrigaardScore: 4,934Success
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:254,90365,731,44838,657,0002,034,0002,519,040
2Aug 2, 2025 20:254,91766,629,23638,817,0001,990,0002,519,040
3Aug 2, 2025 20:254,91771,429,86037,826,0002,986,0002,519,040
4Aug 2, 2025 20:254,91766,427,49937,824,0002,986,0002,445,312
5Aug 2, 2025 20:254,92068,114,88837,849,0002,988,0002,449,408
6Aug 2, 2025 20:254,92270,640,59938,857,0001,992,0002,519,040
7Aug 2, 2025 20:254,93164,682,39339,930,000998,0002,445,312
8Aug 2, 2025 20:254,93365,848,92439,948,000998,0002,441,216
9Aug 2, 2025 20:254,93464,251,61138,953,0001,997,0002,445,312
10Aug 2, 2025 20:254,93464,848,80837,953,0002,996,0002,519,040
11Aug 2, 2025 20:254,93460,407,52037,955,0002,996,0002,449,408
12Aug 2, 2025 20:254,93966,917,00138,991,0001,999,0002,519,040
13Aug 2, 2025 20:254,94363,786,02940,029,0001,000,0002,519,040
14Aug 2, 2025 20:254,94562,497,27838,043,0003,003,0002,453,504
15Aug 2, 2025 20:254,95262,904,37238,093,0003,007,0002,457,600
16Aug 2, 2025 20:254,95263,750,12338,095,0003,007,0002,449,408
17Aug 2, 2025 20:254,95664,894,98239,132,0002,006,0002,519,040
18Aug 2, 2025 20:254,95969,918,86739,155,0002,007,0002,519,040