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 24, 2026 14:27Dominique GarmierDominique GarmierScore: 39,237Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2026 06:2839,175346,361,735325,155,00002,367,488
2Mar 24, 2026 06:2839,235350,483,717325,653,00002,363,392
3Mar 24, 2026 14:2739,236355,685,549324,662,000998,0002,355,200
4Mar 24, 2026 14:2739,237357,926,852323,669,0001,997,0002,289,664
5Mar 24, 2026 06:2839,239348,713,345325,683,00002,289,664
6Mar 24, 2026 14:2739,531355,874,753326,111,0002,000,0002,289,664