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 13, 2023 04:13sliceteamsliceteamScore: 12,007Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2023 04:1311,747122,730,62996,492,0001,005,0002,273,280
2Nov 13, 2023 04:1311,752123,456,54596,538,0001,005,0002,465,792
3Nov 13, 2023 04:1311,755124,253,21496,565,0001,005,0002,273,280
4Nov 13, 2023 04:1311,998127,366,96098,580,0001,005,0002,273,280
5Nov 13, 2023 04:1312,002130,769,14698,610,0001,006,0002,273,280
6Nov 13, 2023 04:1312,003123,784,20098,618,0001,006,0002,326,528
7Nov 13, 2023 04:1312,004128,871,50899,634,00002,461,696
8Nov 13, 2023 04:1312,007131,953,61099,661,00002,273,280
9Nov 13, 2023 04:1312,019126,928,57197,765,0001,995,0002,273,280
10Nov 13, 2023 04:1312,028126,483,34698,832,000998,0002,465,792
11Nov 13, 2023 04:1312,205125,547,468101,300,00002,273,280
12Nov 13, 2023 04:1312,326157,262,229102,302,08602,187,264
13Nov 13, 2023 04:1312,330176,052,102102,336,05802,179,072
14Nov 13, 2023 04:1312,349173,054,653102,500,00702,183,168
15Nov 13, 2023 04:1312,392130,080,208102,851,00002,273,280