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 listMay 27, 2024 13:41GraceGraceScore: 6,385Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 13:416,36579,770,85950,835,0001,993,0002,523,136
2May 27, 2024 13:416,36683,613,26250,842,0001,993,0002,260,992
3May 27, 2024 13:416,36780,064,07251,847,000997,0002,260,992
4May 27, 2024 13:416,36783,939,05651,846,000997,0002,383,872
5May 27, 2024 13:416,36779,060,74651,851,000997,0002,260,992
6May 27, 2024 13:416,36782,460,08250,853,0001,994,0002,260,992
7May 27, 2024 13:416,36877,147,73051,860,000997,0002,396,160
8May 27, 2024 13:416,36982,477,67451,866,000997,0002,523,136
9May 27, 2024 13:416,36988,070,56652,865,00002,260,992
10May 27, 2024 13:416,37279,024,05250,892,0001,995,0002,260,992
11May 27, 2024 13:416,37378,082,67050,901,0001,996,0002,387,968
12May 27, 2024 13:416,37781,530,03950,931,0001,997,0002,383,872
13May 27, 2024 13:416,37881,201,89650,939,0001,997,0002,375,680
14May 27, 2024 13:416,37881,631,10950,943,0001,997,0002,260,992
15May 27, 2024 13:416,37883,671,46050,942,0001,997,0002,396,160
16May 27, 2024 13:416,38583,666,35950,997,0001,999,0002,260,992
17May 27, 2024 13:416,38682,735,70651,004,0002,000,0002,523,136
18May 27, 2024 13:416,39178,379,51151,046,0002,001,0002,260,992
19May 27, 2024 13:416,431130,333,75853,379,14202,281,472
20May 27, 2024 13:416,434122,387,58753,400,59402,277,376
21May 27, 2024 13:416,435116,272,79053,408,45802,285,568
22May 27, 2024 13:416,444119,102,25253,488,39902,269,184
23May 27, 2024 13:416,446113,845,74753,498,39702,273,280
24May 27, 2024 13:416,577119,674,13554,586,27002,265,088
25May 27, 2024 13:417,78391,352,12463,586,0001,009,0002,379,776
26May 27, 2024 13:417,80790,162,90062,807,0001,993,0002,256,896
27May 27, 2024 13:417,81496,252,55762,864,0001,995,0002,383,872
28May 27, 2024 13:417,85987,736,46163,220,0002,007,0002,375,680
29May 27, 2024 13:417,94791,787,27763,962,0001,998,0002,519,040
30May 27, 2024 13:417,95494,476,99864,017,0002,000,0002,260,992