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, 2024 14:44Serge SmirnovSerge SmirnovScore: 31,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2024 00:4831,022284,032,814256,484,0001,001,0002,293,760
2Oct 17, 2024 00:4831,023278,287,962257,488,00002,535,424
3Oct 23, 2024 14:4431,036284,647,459255,600,0001,996,0002,293,760
4Oct 23, 2024 14:4431,053289,707,178255,740,0001,997,0002,527,232
5Oct 17, 2024 00:4831,054284,656,264256,749,000999,0002,527,232
6Oct 23, 2024 14:4432,536296,396,134268,045,0002,000,0002,519,040