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 07:25servant714servant714Score: 56,388Success
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 07:0156,244489,754,583402,848,00063,975,0002,433,024
2Mar 24, 2026 07:2556,252491,015,673412,904,00053,987,0002,285,568
3Mar 24, 2026 07:0156,364499,068,003409,847,00057,978,0002,281,472
4Mar 24, 2026 07:2556,388493,236,662411,019,00057,002,0002,428,928
5Mar 24, 2026 07:2556,489498,712,270410,877,00057,982,0002,281,472
6Mar 24, 2026 07:0156,522492,064,707410,118,00059,017,0002,281,472