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 listApr 27, 2024 18:55Joad NacerJoad NacerScore: 10,720Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2024 18:5510,618117,578,32588,131,00002,285,568
2Apr 27, 2024 18:5810,618116,071,63286,125,0002,002,0002,285,568
3Apr 27, 2024 18:5510,618117,762,38586,125,0002,002,0002,510,848
4Apr 27, 2024 18:5510,620115,148,42588,143,00002,510,848
5Apr 27, 2024 18:5510,620111,024,91886,147,0002,003,0002,285,568
6Apr 27, 2024 18:5510,621111,356,07786,154,0002,003,0002,514,944
7Apr 27, 2024 18:5510,622115,498,24686,160,0002,003,0002,285,568
8Apr 27, 2024 18:5810,622112,291,08986,159,0002,003,0002,519,040
9Apr 27, 2024 18:5510,624111,863,75586,177,0002,004,0002,506,752
10Apr 27, 2024 18:5810,626111,211,13786,192,0002,004,0002,285,568
11Apr 27, 2024 18:5510,628117,526,90386,208,0002,004,0002,285,568
12Apr 27, 2024 18:5510,628110,091,97386,208,0002,004,0002,285,568
13Apr 27, 2024 18:5510,633110,843,29986,253,0002,005,0002,519,040
14Apr 27, 2024 18:5510,643110,733,58987,337,0001,003,0002,510,848
15Apr 27, 2024 18:5510,644112,224,79986,339,0002,007,0002,260,992
16Apr 27, 2024 18:5810,644114,506,14886,335,0002,007,0002,285,568
17Apr 27, 2024 18:5510,678117,078,72887,620,0001,007,0002,285,568
18Apr 27, 2024 18:5510,683148,735,24788,667,63002,269,184
19Apr 27, 2024 18:5810,705119,514,21187,853,000998,0002,510,848
20Apr 27, 2024 18:5510,710145,115,04488,894,03402,265,088
21Apr 27, 2024 18:5810,718123,227,36486,959,0001,999,0002,285,568
22Apr 27, 2024 18:5810,719157,156,34188,966,74802,277,376
23Apr 27, 2024 18:5810,720156,466,60788,972,08102,277,376
24Apr 27, 2024 18:5510,720116,204,60586,979,0001,999,0002,510,848
25Apr 27, 2024 18:5810,721150,331,33288,984,39402,281,472
26Apr 27, 2024 18:5510,725144,666,96089,018,36902,277,376
27Apr 27, 2024 18:5510,738144,986,37389,127,57502,260,992
28Apr 27, 2024 18:5810,806122,091,46189,691,00002,285,568
29Apr 27, 2024 18:5510,811114,000,07387,738,0001,994,0002,510,848
30Apr 27, 2024 18:5510,824118,633,83887,846,0001,996,0002,285,568
31Apr 27, 2024 18:5810,832112,823,80588,904,000998,0002,285,568
32Apr 27, 2024 18:5510,834149,866,83889,921,59602,273,280
33Apr 27, 2024 18:5810,845113,037,23088,012,0002,000,0002,285,568
34Apr 27, 2024 18:5510,948115,285,72389,859,0001,009,0002,506,752
35Apr 27, 2024 18:5510,968117,303,12989,037,0002,000,0002,285,568
36Apr 27, 2024 18:5511,044151,742,18991,662,97902,273,280
37Apr 27, 2024 18:5511,539127,000,98393,776,0001,995,0002,285,568
38Apr 27, 2024 18:5811,540124,954,45894,781,000997,0002,285,568
39Apr 27, 2024 18:5511,551120,228,45894,872,000998,0002,285,568
40Apr 27, 2024 18:5511,556119,685,76693,914,0001,998,0002,506,752
41Apr 27, 2024 18:5811,579117,317,70794,101,0002,002,0002,363,392
42Apr 27, 2024 18:5511,661119,280,11294,795,0001,995,0002,506,752
43Apr 27, 2024 18:5511,662124,209,88295,794,000997,0002,514,944
44Apr 27, 2024 18:5511,875121,756,15897,557,0001,005,0002,506,752
45Apr 27, 2024 18:5812,110123,352,58598,506,0002,010,0002,277,376