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 11, 2024 01:02Joad NacerJoad NacerError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 15:59Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 16:07055,442,95945,129,0001,022,00016,384No answer to stdout. Died or killed?
2Oct 11, 2024 01:035,44368,398,84942,163,0003,011,0002,334,720
3Oct 11, 2024 01:025,44666,396,39642,191,0003,013,0002,342,912
4Oct 11, 2024 01:025,44673,155,55943,192,0002,008,0002,506,752
5Oct 11, 2024 01:025,44870,308,53942,206,0003,014,0002,510,848
6Oct 11, 2024 01:025,44869,681,01443,213,0002,009,0002,510,848
7Oct 11, 2024 01:025,44866,747,89243,209,0002,009,0002,510,848
8Oct 11, 2024 01:025,45066,632,04142,216,0003,015,0002,334,720
9Oct 11, 2024 01:035,45070,317,98942,219,0003,015,0002,510,848
10Oct 11, 2024 01:025,45172,363,79742,231,0003,016,0002,334,720
11Oct 11, 2024 01:035,45472,989,93442,252,0003,018,0002,506,752
12Oct 11, 2024 01:025,45769,795,44043,278,0002,012,0002,334,720
13Oct 11, 2024 01:025,46467,985,28743,335,0002,015,0002,502,656
14Oct 11, 2024 01:025,55664,743,44444,111,0002,005,0002,498,560
15Oct 11, 2024 01:035,56567,463,60743,176,0003,012,0002,506,752
16Oct 11, 2024 01:035,56669,809,50943,184,0003,012,0002,330,624
17Oct 11, 2024 01:035,56866,030,25644,208,0002,009,0002,330,624
18Oct 11, 2024 01:025,57368,355,88943,240,0003,016,0002,330,624
19Oct 11, 2024 01:025,57970,307,31844,296,0002,013,0002,330,624