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 listJan 1, 2023 16:07Hal FHal FScore: 8,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 16:077,97199,179,07663,154,0003,007,0002,285,568
2Jan 1, 2023 16:078,01498,311,11163,495,0003,023,0002,285,568
3Jan 1, 2023 16:078,03098,197,87365,644,0001,009,0002,326,528
4Jan 1, 2023 16:078,04692,374,08664,786,0001,993,0002,486,272
5Jan 1, 2023 16:078,05995,713,13463,892,0002,994,0002,420,736
6Jan 1, 2023 16:078,08889,604,42063,126,0004,008,0002,285,568
7Jan 1, 2023 16:078,09090,527,37663,142,0004,009,0002,285,568
8Jan 1, 2023 16:078,27395,089,26266,645,0002,019,0002,314,240
9Jan 1, 2023 16:078,28793,681,75266,790,0001,993,0002,285,568
10Jan 1, 2023 16:078,28798,997,86865,793,0002,990,0002,322,432
11Jan 1, 2023 16:078,32493,283,61067,084,0002,002,0002,326,528
12Jan 1, 2023 16:078,42594,589,98867,930,0001,997,0002,355,200
13Jan 1, 2023 16:078,626138,947,14071,594,51002,203,648
14Jan 1, 2023 16:078,650131,843,58871,796,63202,199,552
15Jan 1, 2023 16:078,675139,110,85872,004,75702,195,456