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 listJan 1, 2026 19:22Josu San MartinJosu San MartinScore: 7,020Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2026 19:236,60681,899,60851,836,0002,990,0002,494,464
2Jan 1, 2026 19:236,61485,565,60751,900,0002,994,0002,375,680
3Jan 1, 2026 19:226,62380,691,31852,973,0001,998,0002,334,720
4Jan 1, 2026 19:226,62379,540,50653,976,000999,0002,330,624
5Jan 1, 2026 19:226,62378,320,67751,970,0002,998,0002,437,120
6Jan 1, 2026 19:236,63983,928,26552,097,0003,005,0002,510,848
7Jan 1, 2026 19:236,99685,305,12453,061,0005,005,0002,269,184
8Jan 1, 2026 19:236,99985,551,34955,084,0003,004,0002,514,944
9Jan 1, 2026 19:237,00386,419,98454,113,0004,008,0002,531,328
10Jan 1, 2026 19:227,00884,657,93855,156,0003,008,0002,494,464
11Jan 1, 2026 19:227,01083,591,46854,173,0004,012,0002,289,664
12Jan 1, 2026 19:227,01177,581,11255,184,0003,010,0002,301,952
13Jan 1, 2026 19:237,02087,334,23855,254,0003,013,0002,457,600
14Jan 1, 2026 19:237,02182,856,70355,264,0003,014,0002,445,312
15Jan 1, 2026 19:227,02189,993,75257,272,0001,004,0002,379,776
16Jan 1, 2026 19:227,02887,359,02655,315,0003,017,0002,326,528
17Jan 1, 2026 19:227,03183,913,13356,344,0002,012,0002,482,176
18Jan 1, 2026 19:227,03384,244,83456,365,0002,013,0002,514,944
19Jan 1, 2026 19:227,03483,760,14257,373,0001,006,0002,490,368
20Jan 1, 2026 19:237,04188,898,20256,422,0002,015,0002,510,848
21Jan 1, 2026 19:237,04283,145,96155,422,0003,023,0002,486,272
22Jan 1, 2026 19:227,06188,946,64456,589,0002,021,0002,301,952
23Jan 1, 2026 19:237,07686,462,30055,748,0002,986,0002,469,888
24Jan 1, 2026 19:237,09383,064,70455,876,0002,993,0002,400,256