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 8, 2023 11:17Serge SmirnovSerge SmirnovScore: 43,786Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2023 11:1743,752426,396,903363,143,46302,285,568
2Oct 8, 2023 11:1743,761428,160,354363,218,44202,293,760
3Oct 8, 2023 11:1743,768436,624,983363,271,68702,285,568
4Oct 8, 2023 11:1843,771435,429,138363,300,56102,289,664
5Oct 8, 2023 11:1743,778433,982,405363,358,98702,273,280
6Oct 8, 2023 11:1843,781422,572,865363,379,60102,293,760
7Oct 8, 2023 11:1743,786435,344,522363,420,75902,285,568
8Oct 8, 2023 11:1743,786434,983,886363,424,87102,285,568
9Oct 8, 2023 11:1843,787432,312,500363,433,99902,289,664
10Oct 8, 2023 11:1743,791428,495,167363,465,57202,297,856
11Oct 8, 2023 11:1743,800428,436,582363,541,76902,277,376
12Oct 8, 2023 11:1743,801421,540,132363,544,32702,293,760