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 3, 2026 04:58Josu San MartinJosu San MartinScore: 5,605Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 04:595,31270,611,77443,091,0001,002,0002,375,680
2Jan 3, 2026 04:595,39877,149,25344,806,00002,367,488
3Jan 3, 2026 04:585,40171,750,79241,842,0002,988,0002,519,040
4Jan 3, 2026 04:595,40269,338,80943,840,000996,0002,293,760
5Jan 3, 2026 04:595,42575,828,22743,023,0002,001,0002,289,664
6Jan 3, 2026 04:595,44273,859,63243,161,0002,007,0002,293,760
7Jan 3, 2026 04:585,52176,265,24143,829,0001,992,0002,367,488
8Jan 3, 2026 04:595,55369,694,50644,086,0002,003,0002,281,472
9Jan 3, 2026 04:595,58968,964,72545,384,0001,008,0002,285,568
10Jan 3, 2026 04:585,60571,728,56045,512,0001,011,0002,367,488
11Jan 3, 2026 04:595,64272,419,28344,837,0001,992,0002,367,488
12Jan 3, 2026 04:595,64472,504,39145,850,000996,0002,371,584
13Jan 3, 2026 04:585,64672,239,18746,865,00002,293,760
14Jan 3, 2026 04:595,65374,868,86944,924,0001,996,0002,371,584
15Jan 3, 2026 04:595,66769,050,35846,035,0001,000,0002,486,272
16Jan 3, 2026 04:595,72568,177,06147,517,00002,285,568
17Jan 3, 2026 04:585,76375,373,92645,840,0001,993,0002,375,680
18Jan 3, 2026 04:585,78376,420,90146,002,0002,000,0002,293,760