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 15, 2024 01:08zielajzielajScore: 3,907Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 15, 2024 00:423,88552,525,13731,236,0001,007,0002,347,008
2Nov 15, 2024 01:083,88956,007,20631,267,0001,008,0002,523,136
3Nov 15, 2024 00:423,89159,107,18231,288,0001,009,0002,527,232
4Nov 15, 2024 01:023,89353,328,22931,301,0001,009,0002,359,296
5Nov 15, 2024 01:023,89358,205,36231,306,0001,009,0002,527,232
6Nov 15, 2024 00:423,89357,214,61931,306,0001,009,0002,523,136
7Nov 15, 2024 01:023,89556,404,49931,317,0001,010,0002,273,280
8Nov 15, 2024 01:023,89657,361,96431,329,0001,010,0002,347,008
9Nov 15, 2024 00:423,90051,177,88531,355,0001,011,0002,527,232
10Nov 15, 2024 00:423,90252,979,37530,365,0002,024,0002,523,136
11Nov 15, 2024 00:423,90359,232,51131,387,0001,012,0002,523,136
12Nov 15, 2024 01:023,90358,540,93531,387,0001,012,0002,527,232
13Nov 15, 2024 01:023,90353,939,50231,382,0001,012,0002,428,928
14Nov 15, 2024 01:023,90555,565,77831,397,0001,012,0002,523,136
15Nov 15, 2024 00:423,90651,956,58032,418,00002,338,816
16Nov 15, 2024 00:423,90656,935,56131,403,0001,013,0002,523,136
17Nov 15, 2024 01:023,90658,087,56732,421,00002,527,232
18Nov 15, 2024 01:083,90757,783,16532,429,00002,523,136
19Nov 15, 2024 01:063,90760,452,52731,418,0001,013,0002,342,912
20Nov 15, 2024 01:063,90856,424,70032,439,00002,523,136
21Nov 15, 2024 01:023,90957,025,38532,445,00002,527,232
22Nov 15, 2024 01:083,91255,962,69132,468,00002,531,328
23Nov 15, 2024 00:423,91353,941,98432,482,00002,347,008
24Nov 15, 2024 01:063,92154,986,43632,543,00002,514,944
25Nov 15, 2024 01:023,94057,846,20132,704,00002,269,184
26Nov 15, 2024 01:083,95859,997,20631,857,000995,0002,269,184
27Nov 15, 2024 00:423,96354,489,05030,900,0001,993,0002,359,296
28Nov 15, 2024 00:423,96356,998,03631,894,000996,0002,355,200
29Nov 15, 2024 01:063,96555,584,23631,913,000997,0002,355,200
30Nov 15, 2024 00:423,96561,771,59330,917,0001,994,0002,367,488
31Nov 15, 2024 01:023,96660,635,42831,918,000997,0002,531,328
32Nov 15, 2024 01:063,97354,173,94430,978,0001,998,0002,363,392
33Nov 15, 2024 01:083,97454,951,27631,987,000999,0002,351,104
34Nov 15, 2024 01:083,98055,071,85432,034,0001,001,0002,531,328
35Nov 15, 2024 01:023,98153,611,96732,038,0001,001,0002,351,104
36Nov 15, 2024 01:064,09554,121,06232,993,000999,0002,359,296