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 30, 2025 11:56vahookvahookScore: 37,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 30, 2025 11:5836,839326,000,506303,762,0001,998,0002,490,368
2Apr 30, 2025 11:5836,839329,795,300303,763,0001,998,0002,273,280
3Apr 30, 2025 11:5836,846323,279,030303,820,0001,998,0002,273,280
4Apr 30, 2025 11:5836,849327,727,552303,851,0001,999,0002,273,280
5Apr 30, 2025 11:5836,849325,571,597303,847,0001,998,0002,494,464
6Apr 30, 2025 11:5836,857330,288,006303,910,0001,999,0002,273,280
7Apr 30, 2025 11:5836,869327,363,228304,014,0002,000,0002,494,464
8Apr 30, 2025 11:5836,875331,744,773304,062,0002,000,0002,490,368
9Apr 30, 2025 11:5836,879329,944,908304,092,0002,000,0002,494,464
10Apr 30, 2025 11:5637,069329,299,850305,675,0001,997,0002,527,232
11Apr 30, 2025 11:5637,070330,177,474305,683,0001,997,0002,490,368
12Apr 30, 2025 11:5637,072335,064,055305,701,0001,998,0002,273,280
13Apr 30, 2025 11:5637,075333,331,994305,723,0001,998,0002,498,560
14Apr 30, 2025 11:5637,081335,155,312305,775,0001,998,0002,490,368
15Apr 30, 2025 11:5637,084332,316,893305,797,0001,998,0002,273,280
16Apr 30, 2025 11:5637,093333,304,596305,870,0001,999,0002,527,232
17Apr 30, 2025 11:5637,106331,374,911305,983,0001,999,0002,494,464
18Apr 30, 2025 11:5637,109330,491,511307,005,0001,000,0002,273,280