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 listOct 15, 2024 22:16Elnur RakhmatullinElnur RakhmatullinScore: 61,306Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2024 22:1460,836531,565,355453,946,00050,993,0002,293,760
2Oct 15, 2024 22:1460,894533,306,149448,373,00057,047,0002,285,568
3Oct 15, 2024 22:1460,935533,776,255465,780,00039,981,0002,293,760
4Oct 15, 2024 22:1661,306540,451,287450,860,00057,982,0002,293,760
5Oct 15, 2024 22:1661,399533,013,381446,659,00062,951,0002,502,656
6Oct 15, 2024 22:1661,446536,415,583446,004,00064,000,0002,293,760