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 DebError
Source Code

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

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