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 23:02sliceteamsliceteamScore: 8,055Success
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 23:028,01796,505,82166,539,00002,506,752
2Oct 22, 2023 23:028,02890,850,20065,623,0001,009,0002,273,280
3Oct 22, 2023 23:028,03594,728,68965,679,0001,010,0002,404,352
4Oct 22, 2023 23:028,04590,069,41964,782,0001,993,0002,400,256
5Oct 22, 2023 23:028,04689,469,25065,782,000996,0002,404,352
6Oct 22, 2023 23:028,04991,435,73266,808,00002,273,280
7Oct 22, 2023 23:028,05488,763,40664,851,0001,995,0002,273,280
8Oct 22, 2023 23:028,05595,367,16164,861,0001,995,0002,387,968
9Oct 22, 2023 23:028,18388,290,80265,924,0001,997,0002,400,256
10Oct 22, 2023 23:028,19195,867,20765,990,0001,999,0002,404,352
11Oct 22, 2023 23:028,20794,463,51166,118,0002,003,0002,273,280
12Oct 22, 2023 23:028,216135,234,23568,189,74002,277,376
13Oct 22, 2023 23:028,216135,270,60468,190,53802,281,472
14Oct 22, 2023 23:028,22290,192,64366,233,0002,007,0002,392,064
15Oct 22, 2023 23:028,224135,411,24268,255,58702,273,280