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 11, 2023 19:57Serge SmirnovSerge SmirnovScore: 37,426Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2023 19:5734,548355,725,934286,748,07302,289,664
2Oct 11, 2023 19:5535,943371,526,657298,326,96902,281,472
3Oct 11, 2023 19:5537,423371,779,602310,613,22402,285,568
4Oct 11, 2023 19:5537,426379,735,821310,632,92002,293,760
5Oct 11, 2023 19:5737,427369,969,738310,644,63502,297,856
6Oct 11, 2023 19:5737,428377,552,361310,651,67702,285,568