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 listApr 12, 2026 12:25wnwnScore: 4,224Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 12, 2026 12:244,19961,307,92732,864,0001,991,0002,498,560
2Apr 12, 2026 12:244,20257,800,93332,884,0001,993,0002,486,272
3Apr 12, 2026 12:244,20564,218,43432,905,0001,994,0002,277,376
4Apr 12, 2026 12:254,21259,428,61432,961,0001,997,0002,494,464
5Apr 12, 2026 12:244,21956,211,31933,015,0002,000,0002,506,752
6Apr 12, 2026 12:244,22156,878,34433,034,0002,002,0002,490,368
7Apr 12, 2026 12:244,22461,617,81933,059,0002,003,0002,277,376
8Apr 12, 2026 12:254,22459,413,25833,058,0002,003,0002,277,376
9Apr 12, 2026 12:244,22558,844,47633,067,0002,004,0002,277,376
10Apr 12, 2026 12:244,23762,419,96233,156,0002,009,0002,494,464
11Apr 12, 2026 12:254,24954,288,96733,248,0002,015,0002,277,376
12Apr 12, 2026 12:244,25260,007,17233,272,0002,016,0002,494,464