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 listJun 4, 2024 13:31GraceGraceScore: 5,125Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2024 13:305,07266,130,84041,094,0001,002,0002,273,280
2Jun 4, 2024 13:305,07366,213,65540,100,0002,005,0002,404,352
3Jun 4, 2024 13:315,07465,502,90440,110,0002,005,0002,396,160
4Jun 4, 2024 13:315,07566,714,05841,117,0001,002,0002,392,064
5Jun 4, 2024 13:305,08264,634,68041,176,0001,004,0002,400,256
6Jun 4, 2024 13:305,08363,564,19540,182,0002,009,0002,400,256
7Jun 4, 2024 13:315,08365,295,81040,184,0002,009,0002,273,280
8Jun 4, 2024 13:305,08564,442,65940,199,0002,009,0002,273,280
9Jun 4, 2024 13:315,08663,466,48040,200,0002,010,0002,273,280
10Jun 4, 2024 13:315,08962,294,67740,224,0002,011,0002,400,256
11Jun 4, 2024 13:315,09165,561,10041,246,0001,006,0002,273,280
12Jun 4, 2024 13:315,09272,324,08042,267,00002,273,280
13Jun 4, 2024 13:315,09567,076,11641,286,0001,006,0002,273,280
14Jun 4, 2024 13:305,09673,654,36340,283,0002,014,0002,273,280
15Jun 4, 2024 13:305,09670,678,72041,290,0001,007,0002,396,160
16Jun 4, 2024 13:315,09774,576,98541,296,0001,007,0002,273,280
17Jun 4, 2024 13:315,10169,098,01541,334,0001,008,0002,273,280
18Jun 4, 2024 13:305,10466,157,59941,356,0001,008,0002,400,256
19Jun 4, 2024 13:315,10468,592,13442,363,00002,396,160
20Jun 4, 2024 13:315,10563,697,27042,368,00002,273,280
21Jun 4, 2024 13:315,10665,862,55541,373,0001,009,0002,273,280
22Jun 4, 2024 13:315,11366,304,93941,428,0001,010,0002,273,280
23Jun 4, 2024 13:315,11363,380,37242,438,00002,404,352
24Jun 4, 2024 13:315,12366,416,55541,506,0001,012,0002,273,280
25Jun 4, 2024 13:305,12566,219,70641,529,0001,012,0002,273,280
26Jun 4, 2024 13:315,12866,561,50141,546,0001,013,0002,392,064
27Jun 4, 2024 13:315,12973,100,21442,571,00002,273,280
28Jun 4, 2024 13:315,219118,054,71143,318,30202,289,664
29Jun 4, 2024 13:315,229111,401,15543,401,52802,289,664
30Jun 4, 2024 13:315,239106,790,48443,485,36002,285,568
31Jun 4, 2024 13:315,239110,929,70343,480,91202,289,664
32Jun 4, 2024 13:305,240110,373,22343,488,41502,289,664
33Jun 4, 2024 13:315,240106,515,79143,489,07902,293,760
34Jun 4, 2024 13:315,240118,970,16943,490,28202,285,568
35Jun 4, 2024 13:315,242130,365,53543,510,04802,293,760
36Jun 4, 2024 13:315,246107,570,17943,537,69302,281,472
37Jun 4, 2024 13:305,256108,008,54543,626,52902,281,472
38Jun 4, 2024 13:315,274104,245,71943,773,28002,293,760
39Jun 4, 2024 13:305,322105,197,63944,176,47702,281,472
40Jun 4, 2024 13:316,05183,015,95348,216,0002,009,0002,273,280
41Jun 4, 2024 13:306,05976,520,90650,291,00002,396,160
42Jun 4, 2024 13:316,06971,714,39349,367,0001,007,0002,273,280
43Jun 4, 2024 13:316,07370,384,17149,395,0001,008,0002,396,160
44Jun 4, 2024 13:306,09276,530,36249,553,0001,011,0002,392,064
45Jun 4, 2024 13:316,12972,199,59448,874,0001,994,0002,273,280
46Jun 4, 2024 13:306,13175,033,37549,892,000997,0002,273,280
47Jun 4, 2024 13:316,13377,585,02949,909,000998,0002,273,280
48Jun 4, 2024 13:316,14172,103,82749,974,000999,0002,519,040