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:12GraceGraceScore: 6,149Success
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:106,12576,415,82048,842,0001,993,0002,387,968
2May 27, 2024 13:106,12877,840,57848,871,0001,994,0002,260,992
3May 27, 2024 13:106,12976,741,18548,878,0001,995,0002,260,992
4May 27, 2024 13:126,12975,601,43248,876,0001,994,0002,392,064
5May 27, 2024 13:126,13084,421,29348,888,0001,995,0002,523,136
6May 27, 2024 13:106,13080,876,62648,887,0001,995,0002,260,992
7May 27, 2024 13:126,13281,864,83648,897,0001,995,0002,260,992
8May 27, 2024 13:106,13282,779,93448,903,0001,996,0002,260,992
9May 27, 2024 13:106,13278,662,54348,900,0001,995,0002,260,992
10May 27, 2024 13:106,13376,596,72048,908,0001,996,0002,383,872
11May 27, 2024 13:106,13379,662,46249,902,000998,0002,379,776
12May 27, 2024 13:106,13479,308,06748,919,0001,996,0002,383,872
13May 27, 2024 13:126,13481,107,13949,918,000998,0002,523,136
14May 27, 2024 13:106,13683,756,56749,929,000998,0002,260,992
15May 27, 2024 13:126,13782,131,46948,938,0001,997,0002,260,992
16May 27, 2024 13:106,13779,461,00948,943,0001,997,0002,523,136
17May 27, 2024 13:126,13976,665,07449,951,000999,0002,260,992
18May 27, 2024 13:106,14078,840,74248,966,0001,998,0002,523,136
19May 27, 2024 13:106,14279,455,39949,982,000999,0002,387,968
20May 27, 2024 13:106,14479,098,80449,996,000999,0002,260,992
21May 27, 2024 13:106,14577,775,94750,001,0001,000,0002,523,136
22May 27, 2024 13:106,14578,214,88249,000,0002,000,0002,506,752
23May 27, 2024 13:106,14977,017,13049,036,0002,001,0002,387,968
24May 27, 2024 13:106,15078,837,50349,040,0002,001,0002,379,776
25May 27, 2024 13:126,18575,362,11550,327,0001,006,0002,260,992
26May 27, 2024 13:126,19572,144,86250,409,0001,008,0002,392,064
27May 27, 2024 13:126,20275,027,62951,480,00002,260,992
28May 27, 2024 13:126,352116,740,93152,725,03002,273,280
29May 27, 2024 13:106,356109,273,67952,758,04302,277,376
30May 27, 2024 13:126,359120,301,84552,775,64602,269,184
31May 27, 2024 13:126,360105,907,18952,784,79602,273,280
32May 27, 2024 13:106,360122,071,86752,790,88302,281,472
33May 27, 2024 13:106,364123,390,92652,819,93602,273,280
34May 27, 2024 13:106,368118,267,00552,855,12402,273,280
35May 27, 2024 13:106,368105,406,84252,850,27402,265,088
36May 27, 2024 13:106,368127,462,68852,855,61002,277,376
37May 27, 2024 13:107,53185,497,89462,506,00002,383,872
38May 27, 2024 13:107,56589,632,23162,791,00002,387,968
39May 27, 2024 13:127,57090,907,31161,837,000997,0002,383,872
40May 27, 2024 13:107,57789,581,78860,891,0001,996,0002,367,488
41May 27, 2024 13:107,58589,591,31160,954,0001,998,0002,260,992
42May 27, 2024 13:127,58690,155,23560,962,0001,998,0002,260,992
43May 27, 2024 13:127,60392,275,56562,103,0001,001,0002,260,992
44May 27, 2024 13:107,60686,309,05063,133,00002,260,992
45May 27, 2024 13:107,63686,894,37463,376,00002,260,992