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 11, 2026 20:20Daniel MastalerzDaniel MastalerzScore: 8,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2026 20:208,63995,601,91068,716,0002,987,0002,338,816
2Mar 11, 2026 20:208,64997,869,04069,790,0001,994,0002,285,568
3Mar 11, 2026 20:208,653103,070,20368,824,0002,992,0002,351,104
4Mar 11, 2026 20:208,89399,515,15371,819,0001,994,0002,285,568
5Mar 11, 2026 20:208,89998,393,47070,871,0002,994,0002,342,912
6Mar 11, 2026 20:208,917100,673,96371,012,0003,000,0002,289,664