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 02:52zielajzielajScore: 5,161Success
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:544,96267,953,62340,180,0001,004,0002,265,088
2Nov 14, 2024 02:544,97062,603,83940,249,0001,006,0002,265,088
3Nov 14, 2024 02:524,97766,023,99841,310,00002,383,872
4Nov 14, 2024 02:544,97765,006,30541,313,00002,473,984
5Nov 14, 2024 02:524,99262,299,34941,436,00002,375,680
6Nov 14, 2024 02:525,01069,249,77240,571,0001,014,0002,469,888
7Nov 14, 2024 02:545,14368,406,44642,689,00002,371,584
8Nov 14, 2024 02:525,16171,654,08041,837,000996,0002,371,584
9Nov 14, 2024 02:545,16172,053,05440,843,0001,992,0002,367,488
10Nov 14, 2024 02:545,16167,567,09341,841,000996,0002,367,488
11Nov 14, 2024 02:525,16464,044,44140,869,0001,993,0002,523,136
12Nov 14, 2024 02:545,19170,137,63543,082,00002,523,136
13Nov 14, 2024 02:545,19664,058,00742,123,0001,002,0002,514,944
14Nov 14, 2024 02:525,20071,340,00141,153,0002,007,0002,514,944
15Nov 14, 2024 02:545,30966,986,03842,063,0002,003,0002,514,944
16Nov 14, 2024 02:545,31763,188,99843,132,0001,003,0002,514,944
17Nov 14, 2024 02:545,37467,766,21743,588,0001,013,0002,363,392
18Nov 14, 2024 02:545,56766,315,66545,198,0001,004,0002,363,392