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 listOct 22, 2023 23:40sliceteamsliceteamScore: 8,048Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2023 23:508,00290,137,74965,409,0001,006,0002,273,280
2Oct 22, 2023 23:408,00888,467,79266,467,00002,404,352
3Oct 22, 2023 23:408,01794,233,46965,535,0001,008,0002,396,160
4Nov 5, 2023 23:508,01794,639,80966,545,00002,273,280
5Oct 22, 2023 23:408,01989,551,12465,562,000993,0002,273,280
6Nov 5, 2023 23:508,02093,789,51165,554,0001,008,0002,273,280
7Oct 22, 2023 23:408,02297,056,04965,575,0001,008,0002,273,280
8Nov 5, 2023 23:508,02692,812,07265,604,0001,009,0002,273,280
9Oct 22, 2023 23:408,02998,873,73866,644,00002,273,280
10Oct 22, 2023 23:408,03198,102,55665,645,0001,009,0002,396,160
11Nov 5, 2023 23:508,03492,813,43765,669,0001,010,0002,273,280
12Nov 5, 2023 23:508,03987,459,21764,735,0001,991,0002,273,280
13Oct 22, 2023 23:408,04594,816,77865,775,000996,0002,408,448
14Oct 22, 2023 23:408,04892,201,56465,802,000997,0002,273,280
15Oct 22, 2023 23:408,04894,166,61564,804,0001,993,0002,273,280
16Oct 22, 2023 23:408,04892,436,43765,804,000997,0002,273,280
17Nov 5, 2023 23:508,04995,828,29165,810,000997,0002,273,280
18Nov 5, 2023 23:508,04997,312,08664,816,0001,994,0002,408,448
19Oct 22, 2023 23:408,04992,272,57564,815,0001,994,0002,273,280
20Oct 22, 2023 23:408,05094,668,34265,821,000997,0002,404,352
21Nov 5, 2023 23:508,05593,703,01265,856,000997,0002,404,352
22Nov 5, 2023 23:508,05592,487,65164,863,0001,995,0002,273,280
23Nov 5, 2023 23:508,05597,579,32765,857,000997,0002,273,280
24Nov 5, 2023 23:508,05793,502,68565,879,000998,0002,404,352
25Nov 5, 2023 23:508,148126,431,98767,629,07502,281,472
26Oct 22, 2023 23:408,157136,239,17967,705,38602,281,472
27Oct 22, 2023 23:408,159127,835,34967,716,08602,285,568
28Nov 5, 2023 23:508,173136,498,41867,839,11402,281,472
29Nov 5, 2023 23:508,300144,529,30368,889,41502,273,280
30Oct 22, 2023 23:408,463153,534,48470,241,05402,277,376