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 listMay 28, 2024 14:46GraceGraceScore: 7,290Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 14:456,48379,693,55552,814,000996,0002,285,568
2May 28, 2024 14:456,48381,627,46752,810,000996,0002,273,280
3May 28, 2024 14:466,48977,567,13352,846,0001,016,0002,269,184
4May 28, 2024 14:456,49480,316,15751,908,0001,996,0002,285,568
5May 28, 2024 14:466,49576,745,31651,914,0001,996,0002,285,568
6May 28, 2024 14:456,49678,602,10051,922,0001,997,0002,269,184
7May 28, 2024 14:456,49878,707,43251,939,0001,997,0002,531,328
8May 28, 2024 14:466,49981,260,37951,941,0001,997,0002,285,568
9May 28, 2024 14:466,49983,075,14951,946,0001,997,0002,285,568
10May 28, 2024 14:466,50375,997,76051,973,0001,998,0002,285,568
11May 28, 2024 14:456,50379,369,65651,973,0001,998,0002,531,328
12May 28, 2024 14:466,51477,018,27852,062,0002,002,0002,269,184
13May 28, 2024 14:456,52075,225,95052,109,0002,004,0002,277,376
14May 28, 2024 14:457,28187,399,39259,427,0001,007,0002,285,568
15May 28, 2024 14:467,28782,664,44359,473,0001,008,0002,265,088
16May 28, 2024 14:467,29090,124,63959,497,0001,008,0002,273,280
17May 28, 2024 14:457,29581,247,21459,538,0001,009,0002,269,184
18May 28, 2024 14:457,29889,384,41059,564,0001,009,0002,277,376
19May 28, 2024 14:457,29886,224,72859,561,0001,009,0002,285,568
20May 28, 2024 14:467,30489,056,96859,615,0001,010,0002,285,568
21May 28, 2024 14:467,30692,068,41059,628,0001,010,0002,285,568
22May 28, 2024 14:467,31588,705,14059,716,000995,0002,285,568
23May 28, 2024 14:457,32689,058,92358,814,0001,993,0002,285,568
24May 28, 2024 14:467,34383,306,60358,948,0001,998,0002,273,280
25May 28, 2024 14:467,351117,559,46761,016,46602,293,760
26May 28, 2024 14:467,542123,852,57862,597,68402,301,952
27May 28, 2024 14:457,610121,494,19163,163,51102,555,904
28May 28, 2024 14:468,028128,335,95166,630,82102,174,976
29May 28, 2024 14:458,148134,813,92867,625,73302,641,920
30May 28, 2024 14:458,209132,194,80968,137,60802,707,456