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:32GraceGraceScore: 6,764Success
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:326,451125,370,63953,540,53802,260,992
2May 27, 2024 13:326,452127,247,33553,551,87702,269,184
3May 27, 2024 13:326,459122,667,82753,609,66302,269,184
4May 27, 2024 13:326,462118,229,03853,631,50102,277,376
5May 27, 2024 13:326,466116,372,28853,666,75702,269,184
6May 27, 2024 13:326,469118,230,85853,690,32602,269,184
7May 27, 2024 13:326,73385,607,58154,885,000997,0002,260,992
8May 27, 2024 13:326,73682,004,82654,914,000998,0002,260,992
9May 27, 2024 13:326,74184,497,78953,951,0001,998,0002,260,992
10May 27, 2024 13:326,74681,480,84253,996,0001,999,0002,523,136
11May 27, 2024 13:326,75082,998,66155,022,0001,000,0002,383,872
12May 27, 2024 13:326,75280,006,20454,039,0002,001,0002,387,968
13May 27, 2024 13:326,75678,866,90855,075,0001,001,0002,260,992
14May 27, 2024 13:326,75880,543,44554,087,0002,003,0002,260,992
15May 27, 2024 13:326,76384,891,42455,132,0001,002,0002,387,968
16May 27, 2024 13:326,76486,780,43554,140,0002,005,0002,260,992
17May 27, 2024 13:326,76781,064,79755,162,0001,002,0002,260,992
18May 27, 2024 13:326,76780,845,68855,160,0001,002,0002,260,992
19May 27, 2024 13:326,77889,817,60254,245,0002,009,0002,260,992
20May 27, 2024 13:326,87580,965,11855,058,0002,002,0002,260,992
21May 27, 2024 13:326,87591,746,17356,061,0001,001,0002,260,992
22May 27, 2024 13:326,88482,867,34855,133,0002,004,0002,392,064
23May 27, 2024 13:326,90289,414,07856,285,0001,005,0002,260,992
24May 27, 2024 13:327,12082,552,88557,094,0002,003,0002,383,872
25May 27, 2024 13:327,90092,883,68664,564,0001,008,0002,260,992
26May 27, 2024 13:327,942102,594,72964,919,000998,0002,375,680
27May 27, 2024 13:327,94292,659,42364,923,000998,0002,383,872
28May 27, 2024 13:327,94493,077,10763,937,0001,998,0002,519,040
29May 27, 2024 13:327,95491,259,15565,016,0001,000,0002,260,992
30May 27, 2024 13:327,96593,384,02365,110,0001,001,0002,392,064