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 listFeb 19, 2026 21:20Daniel MastalerzDaniel MastalerzScore: 6,000Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2026 21:205,96370,651,57246,461,0003,030,0002,519,040
2Feb 19, 2026 20:195,96872,229,09847,512,0002,021,0002,273,280
3Feb 19, 2026 20:195,97274,316,90147,542,0002,023,0002,265,088
4Feb 19, 2026 20:195,97382,090,03147,555,0002,023,0002,269,184
5Feb 19, 2026 20:195,97780,398,12847,581,0002,024,0002,383,872
6Feb 19, 2026 20:195,97975,639,38846,591,0003,038,0002,330,624
7Feb 19, 2026 21:205,98776,468,82147,661,0002,028,0002,273,280
8Feb 19, 2026 20:195,99772,971,58846,793,0002,986,0002,330,624
9Feb 19, 2026 21:205,99777,434,39946,791,0002,986,0002,519,040
10Feb 19, 2026 20:196,00077,597,57445,816,0003,984,0002,277,376
11Feb 19, 2026 20:196,00280,705,05546,826,0002,988,0002,310,144
12Feb 19, 2026 20:196,00276,494,90345,831,0003,985,0002,310,144
13Feb 19, 2026 20:196,05874,265,96247,265,0003,016,0002,269,184
14Feb 19, 2026 20:196,06371,762,34447,307,0003,019,0002,273,280
15Feb 19, 2026 20:196,06872,182,88347,340,0003,021,0002,269,184
16Feb 19, 2026 21:206,07472,670,86947,392,0003,025,0002,265,088
17Feb 19, 2026 21:206,07772,047,67246,407,0004,035,0002,310,144
18Feb 19, 2026 21:206,10379,853,41347,619,0003,039,0002,269,184