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 listJan 2, 2026 17:12Josu San MartinJosu San MartinScore: 5,824Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 17:135,40673,269,21942,879,0001,994,0002,289,664
2Jan 2, 2026 17:135,42674,755,32744,037,0001,000,0002,359,296
3Jan 2, 2026 17:135,51973,989,34043,816,0001,991,0002,293,760
4Jan 2, 2026 17:125,67672,805,25145,109,0002,004,0002,281,472
5Jan 2, 2026 17:135,75977,673,61744,815,0002,987,0002,293,760
6Jan 2, 2026 17:135,76175,569,95446,824,000996,0002,293,760
7Jan 2, 2026 17:135,80875,292,61447,200,0001,004,0002,293,760
8Jan 2, 2026 17:135,81075,730,34846,211,0002,009,0002,293,760
9Jan 2, 2026 17:135,81572,418,78547,258,0001,005,0002,375,680
10Jan 2, 2026 17:125,82468,463,22748,340,00002,281,472
11Jan 2, 2026 17:125,83471,588,97347,417,0001,008,0002,281,472
12Jan 2, 2026 17:135,88079,187,99047,808,000996,0002,293,760
13Jan 2, 2026 17:135,89075,882,19846,889,0001,995,0002,273,280
14Jan 2, 2026 17:135,89573,570,87146,930,0001,997,0002,506,752
15Jan 2, 2026 17:135,89777,662,99247,949,000998,0002,359,296
16Jan 2, 2026 17:125,94581,358,28649,346,00002,367,488
17Jan 2, 2026 17:125,97672,067,86349,599,00002,293,760
18Jan 2, 2026 17:128,74398,278,75971,558,0001,007,0002,293,760