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 28, 2021 14:40gchebanovgchebanovScore: 27,922Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 14:4027,564252,586,595226,782,0001,998,0002,404,352
2Jun 28, 2021 14:3927,589251,272,891227,991,000999,0002,273,280
3Jun 28, 2021 14:3927,615254,023,771229,206,00002,273,280
4Jun 28, 2021 14:4027,618251,784,847227,225,0002,001,0002,404,352
5Jun 28, 2021 14:4027,627252,556,897227,315,0001,993,0002,273,280
6Jun 28, 2021 14:3927,637257,090,227228,385,0001,001,0002,273,280
7Jun 28, 2021 14:4027,638252,755,541229,392,00002,273,280
8Jun 28, 2021 14:3927,654258,027,372228,526,0001,002,0002,273,280
9Jun 28, 2021 14:3927,678254,606,455227,733,0001,997,0002,273,280
10Jun 28, 2021 14:4027,723252,903,520228,105,0002,000,0002,400,256
11Jun 28, 2021 14:3927,804254,815,809228,776,0001,998,0002,273,280
12Jun 28, 2021 14:4027,842253,788,696229,085,0002,000,0002,273,280
13Jun 28, 2021 14:4027,922260,895,481229,756,0001,997,0002,273,280
14Jun 28, 2021 14:4027,957256,853,786230,047,0002,000,0002,404,352
15Jun 28, 2021 14:3927,967254,523,114231,120,0001,004,0002,273,280
16Jun 28, 2021 14:3928,122258,450,279233,410,00002,404,352
17Jun 28, 2021 14:4028,169259,552,472231,802,0001,998,0002,400,256
18Jun 28, 2021 14:3928,643267,705,724236,739,000998,0002,400,256
19Jun 28, 2021 14:4029,807309,474,741247,396,73702,269,184
20Jun 28, 2021 14:3929,944324,988,740248,537,95002,285,568
21Jun 28, 2021 14:3929,956299,958,218248,637,65702,277,376
22Jun 28, 2021 14:4029,982309,017,539248,848,64302,277,376
23Jun 28, 2021 14:3931,466323,518,180261,168,21402,289,664
24Jun 28, 2021 14:4031,858323,877,670264,423,50002,285,568