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 listMar 2, 2025 18:14Aniruddha DebAniruddha DebScore: 9,789Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 2, 2025 18:149,233105,451,81672,604,0004,033,0002,531,328
2Mar 2, 2025 18:149,251103,243,27674,790,0001,994,0002,383,872
3Mar 2, 2025 18:149,257104,950,36671,846,0004,989,0002,531,328
4Mar 2, 2025 18:149,26197,927,42571,877,0004,991,0002,519,040
5Mar 2, 2025 18:149,26398,553,73671,892,0004,992,0002,412,544
6Mar 2, 2025 18:149,264100,191,08271,902,0004,993,0002,469,888
7Mar 2, 2025 18:149,275102,998,61471,985,0004,998,0002,531,328
8Mar 2, 2025 18:149,296100,064,10472,150,0005,010,0002,531,328
9Mar 2, 2025 18:149,32296,333,03275,364,0002,009,0002,400,256
10Mar 2, 2025 18:149,757108,259,77074,983,0005,998,0002,420,736
11Mar 2, 2025 18:149,789104,313,86279,243,0002,006,0002,412,544
12Mar 2, 2025 18:149,797101,113,16278,308,0003,011,0002,433,024
13Mar 2, 2025 18:149,813102,572,24077,427,0004,022,0002,404,352
14Mar 2, 2025 18:149,824109,433,35479,524,0002,013,0002,371,584
15Mar 2, 2025 18:149,858109,528,69979,824,0001,995,0002,387,968
16Mar 2, 2025 18:199,863108,599,62877,868,0003,993,0002,469,888
17Mar 2, 2025 18:149,867104,276,72077,898,0003,994,0002,387,968
18Mar 2, 2025 18:149,873103,836,05377,949,0003,997,0002,535,424
19Mar 2, 2025 18:199,924106,033,05378,349,0004,017,0002,535,424
20Mar 2, 2025 18:1410,068110,231,44978,531,0005,034,0002,506,752
21Mar 2, 2025 18:1910,147105,889,96880,207,0004,010,0002,510,848