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 11, 2024 06:42Alexander KosachevAlexander KosachevScore: 168,362Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 19:17168,1211,418,758,2151,330,435,00064,972,0002,371,584
2Nov 10, 2024 19:17168,1341,421,076,4681,330,534,00064,977,0002,514,944
3Nov 10, 2024 19:17168,2241,426,618,9531,334,290,00061,967,0002,281,472
4Nov 10, 2024 19:17168,2361,421,463,5501,331,386,00064,970,0002,412,544
5Nov 10, 2024 19:17168,3051,423,422,3381,332,983,00063,951,0002,326,528
6Nov 11, 2024 06:42168,3181,426,301,9371,331,089,00065,954,0002,281,472
7Nov 10, 2024 19:17168,3621,425,194,5321,338,428,00058,974,0002,322,432
8Nov 10, 2024 19:17168,3661,418,110,9541,331,466,00065,973,0002,318,336
9Nov 11, 2024 06:42169,0471,427,367,7651,332,133,00070,953,0002,318,336
10Nov 10, 2024 19:17169,0491,431,167,4971,332,154,00070,954,0002,281,472
11Nov 10, 2024 19:17169,0881,435,395,5181,338,455,00064,973,0002,322,432
12Nov 11, 2024 06:42170,1721,436,263,4081,343,459,00068,972,0002,281,472