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 listNov 14, 2024 03:06zielajzielajScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 02:584,62562,844,73636,367,0002,020,0002,523,136
2Nov 14, 2024 03:014,63162,391,44337,428,0001,011,0002,371,584
3Nov 14, 2024 02:584,63261,000,40836,425,0002,023,0002,363,392
4Nov 14, 2024 03:064,63259,995,54836,426,0002,023,0002,379,776
5Nov 14, 2024 02:584,63364,107,63937,446,0001,012,0002,523,136
6Nov 14, 2024 03:064,63463,255,96337,450,0001,012,0002,514,944
7Nov 14, 2024 02:584,63461,705,05938,464,00002,367,488
8Nov 14, 2024 03:014,63464,579,04638,460,00002,514,944
9Nov 14, 2024 03:014,63561,617,45338,472,00002,523,136
10Nov 14, 2024 02:584,63759,891,98337,478,0001,012,0002,514,944
11Nov 14, 2024 03:064,63965,725,50237,488,0001,013,0002,523,136
12Nov 14, 2024 02:584,64062,238,80538,509,00002,367,488
13Nov 14, 2024 03:014,64161,405,97737,505,0001,013,0002,519,040
14Nov 14, 2024 03:064,64263,120,90637,515,0001,013,0002,367,488
15Nov 14, 2024 02:584,64261,713,74937,517,0001,013,0002,371,584
16Nov 14, 2024 02:584,64360,162,68738,538,00002,514,944
17Nov 14, 2024 03:064,64762,111,27037,553,0001,014,0002,465,792
18Nov 14, 2024 03:014,64966,897,36537,569,0001,015,0002,465,792
19Nov 14, 2024 03:064,64965,743,86037,575,0001,015,0002,514,944
20Nov 14, 2024 03:064,65966,941,16538,672,00002,514,944
21Nov 14, 2024 03:014,67861,110,47037,836,000995,0002,514,944
22Nov 14, 2024 03:064,68171,532,18536,863,0001,992,0002,514,944
23Nov 14, 2024 03:014,68364,925,47436,879,0001,993,0002,363,392
24Nov 14, 2024 03:014,70062,618,48137,010,0002,000,0002,457,600
25Nov 14, 2024 03:064,70659,527,67638,059,0001,001,0002,514,944
26Nov 14, 2024 03:014,78168,673,39238,667,0001,017,0002,514,944
27Nov 14, 2024 02:584,87461,670,88040,451,00002,514,944
28Nov 14, 2024 02:585,52971,976,42144,897,000997,0002,383,872
29Nov 14, 2024 02:585,54172,204,85744,993,000999,0002,375,680
30Nov 14, 2024 03:015,54467,121,89644,013,0002,000,0002,527,232
31Nov 14, 2024 03:015,54875,360,84445,049,0001,001,0002,527,232
32Nov 14, 2024 03:065,55369,324,74545,088,0001,001,0002,371,584
33Nov 14, 2024 03:065,57469,231,20745,261,0001,005,0002,379,776
34Nov 14, 2024 02:585,58872,346,06044,366,0002,016,0002,527,232
35Nov 14, 2024 03:015,59566,649,16546,440,00002,375,680
36Nov 14, 2024 03:065,66173,951,38544,986,0001,999,0002,379,776