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 5, 2023 23:39sliceteamsliceteamScore: 9,909Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2023 23:399,795135,790,74081,297,56402,293,760
2Nov 5, 2023 23:399,821137,402,42481,517,41402,277,376
3Nov 5, 2023 23:399,892112,392,73281,100,0001,001,0002,273,280
4Nov 5, 2023 23:399,900108,654,96980,168,0002,004,0002,400,256
5Nov 5, 2023 23:399,900104,362,82381,172,0001,002,0002,273,280
6Nov 5, 2023 23:399,909106,098,77380,237,0002,005,0002,273,280
7Nov 5, 2023 23:399,909107,744,53282,248,00002,273,280
8Nov 5, 2023 23:399,909106,975,93782,243,00002,273,280
9Nov 5, 2023 23:399,911105,344,08282,258,00002,396,160
10Nov 5, 2023 23:399,913104,954,76082,275,00002,273,280
11Nov 5, 2023 23:399,919106,023,06082,331,00002,273,280
12Nov 5, 2023 23:399,922105,806,96082,353,00002,408,448
13Nov 5, 2023 23:399,941104,453,30081,504,0001,006,0002,396,160
14Nov 5, 2023 23:399,965148,747,30382,706,68802,285,568
15Nov 5, 2023 23:3910,013106,936,87882,111,0001,001,0002,273,280