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 29, 2024 17:17GraceGraceScore: 6,224Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2024 17:176,04574,809,86547,167,0003,010,0002,424,832
2May 29, 2024 17:176,05374,868,72646,218,0004,018,0002,289,664
3May 29, 2024 17:176,07776,127,85847,411,0003,026,0002,281,472
4May 29, 2024 17:176,08772,601,72446,483,0004,042,0002,281,472
5May 29, 2024 17:176,10178,855,96048,610,0002,025,0002,289,664
6May 29, 2024 17:176,16774,342,14648,177,0003,011,0002,433,024
7May 29, 2024 17:176,16772,312,19749,180,0002,007,0002,510,848
8May 29, 2024 17:176,17076,450,82847,191,0004,016,0002,289,664
9May 29, 2024 17:176,18873,909,83948,341,0003,021,0002,428,928
10May 29, 2024 17:176,20176,183,51948,445,0003,027,0002,289,664
11May 29, 2024 17:176,20178,240,24048,443,0003,027,0002,420,736
12May 29, 2024 17:176,21480,226,07949,557,0002,022,0002,441,216
13May 29, 2024 17:176,22083,091,13348,593,0003,037,0002,301,952
14May 29, 2024 17:176,22084,362,69247,574,0004,048,0002,465,792
15May 29, 2024 17:176,22177,129,59748,600,0003,037,0002,523,136
16May 29, 2024 17:176,22478,207,15848,623,0003,038,0002,428,928
17May 29, 2024 17:176,23876,601,23047,790,0003,982,0002,437,120
18May 29, 2024 17:176,24280,143,97649,813,0001,992,0002,289,664
19May 29, 2024 17:176,24476,881,45549,831,0001,993,0002,510,848
20May 29, 2024 17:176,26375,842,10347,987,0003,998,0002,428,928
21May 29, 2024 17:176,26482,814,72848,993,0002,999,0002,289,664
22May 29, 2024 17:176,26675,078,11048,005,0004,000,0002,277,376
23May 29, 2024 17:176,31079,270,85048,347,0004,028,0002,359,296
24May 29, 2024 17:176,36280,812,11549,819,0002,989,0002,289,664
25May 29, 2024 17:176,492116,662,97853,881,33202,179,072
26May 29, 2024 17:176,584118,788,47854,651,33802,310,144
27May 29, 2024 17:176,609132,992,65954,853,02302,322,432
28May 29, 2024 17:176,617112,881,36054,924,87002,179,072
29May 29, 2024 17:176,632119,209,90155,042,86202,183,168
30May 29, 2024 17:176,637115,620,26255,083,34002,191,360