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 23, 2023 05:46Vladimir TatVladimir TatScore: 81,381Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 23, 2023 05:4781,326748,057,919675,008,22202,244,608
2Oct 23, 2023 05:4681,332737,063,108675,057,33602,256,896
3Oct 23, 2023 05:4781,378732,258,357675,435,66502,260,992
4Oct 23, 2023 05:4681,381739,642,075675,459,24402,256,896
5Oct 23, 2023 05:4681,455750,726,210676,076,82702,252,800
6Oct 23, 2023 05:4781,493745,779,220676,388,91602,252,800