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 18, 2026 02:48Elijah KinElijah KinScore: 49,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2026 02:4849,249436,899,022406,766,0001,998,0002,269,184
2Mar 18, 2026 02:4349,477443,062,082407,660,0002,997,0002,260,992
3Mar 18, 2026 02:4349,499434,975,631405,846,0004,998,0002,273,280
4Mar 18, 2026 02:4349,599446,293,168408,675,0002,997,0002,273,280
5Mar 18, 2026 02:4349,627439,512,823408,903,0002,999,0002,273,280
6Mar 18, 2026 02:4349,634435,486,860409,965,0001,999,0002,277,376
7Mar 18, 2026 02:4849,638439,502,632408,995,0002,999,0002,273,280
8Mar 18, 2026 02:4349,644437,045,045409,043,0003,000,0002,273,280
9Mar 18, 2026 02:4349,690440,276,908411,425,0001,001,0002,273,280
10Mar 18, 2026 02:4349,699437,170,900411,504,0001,001,0002,260,992
11Mar 18, 2026 02:4849,719444,265,178411,667,000999,0002,273,280
12Mar 18, 2026 02:4349,735438,794,473409,799,0002,998,0002,273,280