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 listAug 23, 2023 16:37matsuoka-601matsuoka-601Score: 9,537Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2023 16:378,766101,270,49070,761,0001,993,0002,285,568
2Aug 23, 2023 16:378,79698,211,41972,010,0001,000,0002,285,568
3Aug 23, 2023 16:378,802102,291,90072,056,0001,000,0002,285,568
4Aug 23, 2023 16:379,318142,776,20477,341,87802,281,472
5Aug 23, 2023 16:379,367147,310,35777,746,85602,285,568
6Aug 23, 2023 16:379,429102,481,21777,254,0001,003,0002,285,568
7Aug 23, 2023 16:379,433107,138,46577,290,0001,003,0002,519,040
8Aug 23, 2023 16:379,537102,884,47578,152,0001,001,0002,285,568
9Aug 23, 2023 16:379,539104,668,57077,170,0002,004,0002,265,088
10Aug 23, 2023 16:379,584141,822,40079,549,24802,273,280
11Aug 23, 2023 16:379,624105,286,01377,886,0001,997,0002,514,944
12Aug 23, 2023 16:379,689101,349,21180,415,00002,260,992
13Aug 23, 2023 16:379,732107,728,54278,783,0001,994,0002,265,088
14Aug 23, 2023 16:379,741103,604,03878,858,0001,996,0002,277,376
15Aug 23, 2023 16:379,772102,826,43080,108,0001,001,0002,510,848