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 listNov 6, 2023 02:55sliceteamsliceteamScore: 10,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2023 02:5510,502153,329,38087,165,77002,285,568
2Nov 6, 2023 02:5510,510153,989,83387,230,59302,289,664
3Nov 6, 2023 02:5510,589149,746,26987,887,55802,281,472
4Nov 6, 2023 02:5510,649116,017,49988,386,00002,273,280
5Nov 6, 2023 02:5510,658111,102,61887,454,0001,005,0002,273,280
6Nov 6, 2023 02:5510,670117,179,65388,562,00002,408,448
7Nov 6, 2023 02:5510,708111,312,80086,879,0001,997,0002,404,352
8Nov 6, 2023 02:5510,712114,901,66786,911,0001,997,0002,273,280
9Nov 6, 2023 02:5510,714114,679,58487,925,000999,0002,273,280
10Nov 6, 2023 02:5510,717115,510,13586,956,0001,999,0002,404,352
11Nov 6, 2023 02:5510,717111,302,98586,955,0001,998,0002,273,280
12Nov 6, 2023 02:5510,719112,847,86686,970,0001,999,0002,273,280
13Nov 6, 2023 02:5510,724111,322,59587,009,0002,000,0002,400,256
14Nov 6, 2023 02:5510,738113,393,86587,124,0002,002,0002,424,832
15Nov 6, 2023 02:5510,747112,448,98289,203,00002,273,280