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 listMay 24, 2021 06:57Andrei GrazhdankovAndrei GrazhdankovScore: 56,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:5756,466534,827,425468,663,70402,224,128
2May 24, 2021 06:5656,472522,859,740468,715,29802,220,032
3May 24, 2021 07:0456,474534,713,398468,730,74602,228,224
4May 24, 2021 06:5756,486523,214,321468,835,79002,220,032
5May 24, 2021 07:2756,486531,226,016468,835,55602,232,320
6May 24, 2021 07:0456,489534,574,973468,858,20602,220,032
7May 24, 2021 07:2756,489527,459,313468,862,14202,232,320
8May 24, 2021 06:5756,490537,913,116468,867,06302,228,224
9May 24, 2021 07:2756,492534,439,550468,880,30302,236,416
10May 24, 2021 06:5656,493538,405,817468,891,50602,232,320
11May 24, 2021 06:5756,493537,691,632468,892,47702,228,224
12May 24, 2021 06:5756,498531,572,687468,930,97002,236,416
13May 24, 2021 06:5656,504529,516,085468,982,42902,232,320
14May 24, 2021 07:0456,506526,808,093469,000,94602,228,224
15May 24, 2021 06:5756,537539,375,781469,253,65902,232,320