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 listOct 20, 2024 18:24Vladimir TatVladimir TatScore: 54,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2024 17:1554,258475,234,974449,342,0001,000,0002,269,184
2Oct 20, 2024 17:1554,260473,751,048449,361,0001,000,0002,289,664
3Oct 20, 2024 18:2554,262475,969,586450,373,00002,527,232
4Oct 20, 2024 17:1554,264478,869,555449,392,0001,000,0002,281,472
5Oct 20, 2024 17:1554,265481,766,393449,403,0001,000,0002,293,760
6Oct 20, 2024 18:2554,267474,992,608449,418,0001,000,0002,289,664
7Oct 20, 2024 18:2554,267476,827,737450,418,00002,289,664
8Oct 20, 2024 17:1554,272477,639,173449,454,0001,001,0002,269,184
9Oct 20, 2024 18:2554,273475,076,266449,472,000998,0002,269,184
10Oct 20, 2024 18:2554,276480,428,745449,487,0001,001,0002,281,472
11Oct 20, 2024 18:2554,278476,752,366448,511,0001,997,0002,273,280
12Oct 20, 2024 18:2554,278475,656,589449,505,0001,001,0002,289,664
13Oct 20, 2024 18:2454,283475,342,655448,551,0001,998,0002,269,184
14Oct 20, 2024 17:1554,284476,076,096448,562,0001,998,0002,289,664
15Oct 20, 2024 18:2554,291481,841,716449,617,000999,0002,289,664
16Oct 20, 2024 18:2554,293478,259,794448,632,0001,998,0002,277,376
17Oct 20, 2024 17:1554,293476,907,968448,638,0001,998,0002,281,472
18Oct 20, 2024 18:2454,293480,439,902449,632,000999,0002,281,472
19Oct 20, 2024 18:2554,294476,660,277449,642,000999,0002,293,760
20Oct 20, 2024 17:1554,294480,959,965449,645,000999,0002,289,664
21Oct 20, 2024 18:2554,296476,818,482448,662,0001,998,0002,289,664
22Oct 20, 2024 18:2454,299479,082,273448,687,0001,998,0002,531,328
23Oct 20, 2024 18:2554,308478,197,131448,759,0001,998,0002,289,664
24Oct 20, 2024 17:1554,310474,087,362448,772,0001,998,0002,273,280