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 30, 2026 17:03Dominique GarmierDominique GarmierScore: 38,908Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 30, 2026 17:0338,859354,584,195322,532,00002,367,488
2Mar 30, 2026 08:2938,877346,591,119321,684,000999,0002,289,664
3Mar 30, 2026 08:2938,880347,223,793321,705,000999,0002,289,664
4Mar 30, 2026 17:0338,908346,194,471320,937,0001,999,0002,289,664
5Mar 30, 2026 08:2938,924348,363,061321,070,0002,000,0002,367,488
6Mar 30, 2026 17:0338,963353,273,646322,395,0001,001,0002,289,664