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 22, 2023 22:07sliceteamsliceteamScore: 8,878Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 22, 2023 22:078,619136,197,02071,533,90202,281,472
2Oct 22, 2023 22:078,622144,449,36271,561,20302,277,376
3Oct 22, 2023 22:078,757137,088,73772,679,73602,277,376
4Oct 22, 2023 22:078,84598,726,49672,411,0001,005,0002,273,280
5Oct 22, 2023 22:078,84599,745,76572,407,0001,005,0002,273,280
6Oct 22, 2023 22:078,85096,194,04072,451,0001,006,0002,400,256
7Oct 22, 2023 22:078,851103,074,79473,467,00002,396,160
8Oct 22, 2023 22:078,87897,816,23172,696,000995,0002,273,280
9Oct 22, 2023 22:078,889102,032,51272,785,000997,0002,396,160
10Oct 22, 2023 22:078,89199,289,21773,796,00002,273,280
11Oct 22, 2023 22:078,89897,618,32471,859,0001,996,0002,396,160
12Oct 22, 2023 22:078,953100,514,23673,302,0001,004,0002,256,896
13Oct 22, 2023 22:078,994102,829,00873,646,0001,008,0002,396,160
14Oct 22, 2023 22:078,996101,136,38073,657,0001,009,0002,273,280
15Oct 22, 2023 22:079,06797,443,15975,254,00002,273,280