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 07:26GraceGraceScore: 5,953Success
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 07:265,91370,453,09647,079,0002,003,0002,273,280
2Jun 4, 2024 07:265,91470,447,67448,088,0001,001,0002,273,280
3Jun 4, 2024 07:265,92771,973,09947,184,0002,007,0002,273,280
4Jun 4, 2024 07:265,93075,439,49447,213,0002,009,0002,400,256
5Jun 4, 2024 07:265,93076,113,11748,219,0001,004,0002,273,280
6Jun 4, 2024 07:265,93170,791,25147,219,0002,009,0002,396,160
7Jun 4, 2024 07:265,93371,622,68447,236,0002,010,0002,273,280
8Jun 4, 2024 07:265,93375,799,63348,242,0001,005,0002,273,280
9Jun 4, 2024 07:265,93772,082,70948,273,0001,005,0002,404,352
10Jun 4, 2024 07:265,93974,496,63148,286,0001,005,0002,273,280
11Jun 4, 2024 07:265,93973,707,23948,289,0001,006,0002,273,280
12Jun 4, 2024 07:265,94071,481,02748,300,0001,006,0002,519,040
13Jun 4, 2024 07:265,94071,730,95148,295,0001,006,0002,273,280
14Jun 4, 2024 07:265,94171,326,58248,304,0001,006,0002,273,280
15Jun 4, 2024 07:265,94173,057,79649,312,00002,273,280
16Jun 4, 2024 07:265,94270,704,16448,315,0001,006,0002,404,352
17Jun 4, 2024 07:265,94472,136,68548,329,0001,006,0002,400,256
18Jun 4, 2024 07:265,94670,204,48148,344,0001,007,0002,396,160
19Jun 4, 2024 07:265,94875,953,22649,367,00002,273,280
20Jun 4, 2024 07:265,94872,732,03248,360,0001,007,0002,396,160
21Jun 4, 2024 07:265,95174,453,87049,391,00002,273,280
22Jun 4, 2024 07:265,95176,643,97249,396,00002,392,064
23Jun 4, 2024 07:265,95371,934,81049,413,00002,273,280
24Jun 4, 2024 07:265,95670,169,27748,428,0001,008,0002,400,256
25Jun 4, 2024 07:265,96075,661,03449,465,00002,400,256
26Jun 4, 2024 07:265,96571,037,21349,508,00002,510,848
27Jun 4, 2024 07:265,96772,903,65649,522,00002,273,280
28Jun 4, 2024 07:265,97879,991,85448,602,0001,012,0002,273,280
29Jun 4, 2024 07:265,98582,120,57448,665,0001,013,0002,392,064
30Jun 4, 2024 07:265,98875,142,95748,689,0001,014,0002,273,280
31Jun 4, 2024 07:266,00377,845,78448,832,000996,0002,273,280
32Jun 4, 2024 07:266,02773,154,54648,024,0002,001,0002,273,280
33Jun 4, 2024 07:266,07477,309,38249,410,0001,008,0002,273,280
34Jun 4, 2024 07:266,08573,043,45650,509,00002,404,352
35Jun 4, 2024 07:266,09977,167,47449,610,0001,012,0002,273,280
36Jun 4, 2024 07:266,09976,152,93050,618,00002,400,256
37Jun 4, 2024 07:266,196123,316,23651,423,70502,281,472
38Jun 4, 2024 07:266,198120,560,49151,441,34902,285,568
39Jun 4, 2024 07:266,199119,930,53851,450,01502,285,568
40Jun 4, 2024 07:266,201122,544,63651,465,65902,285,568
41Jun 4, 2024 07:266,204124,295,78851,494,72002,269,184
42Jun 4, 2024 07:266,206123,658,57651,505,90002,273,280
43Jun 4, 2024 07:266,206123,239,64151,508,10402,285,568
44Jun 4, 2024 07:266,207118,650,80751,514,43202,281,472
45Jun 4, 2024 07:266,301114,775,73252,302,10302,281,472