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 listSep 17, 2025 01:24MylesMylesScore: 9,975Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2025 01:249,951106,507,16581,584,0001,007,0002,367,488
2Sep 17, 2025 01:249,960109,890,72281,671,000995,0002,269,184
3Sep 17, 2025 01:249,967108,143,18980,731,0001,993,0002,289,664
4Sep 17, 2025 01:249,968112,974,45080,738,0001,993,0002,289,664
5Sep 17, 2025 01:249,972108,948,46580,771,0001,994,0002,265,088
6Sep 17, 2025 01:249,973107,391,80380,786,0001,994,0002,269,184
7Sep 17, 2025 01:249,974113,237,88880,789,0001,994,0002,269,184
8Sep 17, 2025 01:249,974112,227,78580,792,0001,994,0002,289,664
9Sep 17, 2025 01:249,974108,259,10280,791,0001,994,0002,289,664
10Sep 17, 2025 01:249,975109,732,66180,798,0001,995,0002,273,280
11Sep 17, 2025 01:249,975110,791,99280,798,0001,995,0002,260,992
12Sep 17, 2025 01:249,975109,126,04480,800,0001,995,0002,289,664
13Sep 17, 2025 01:249,976108,804,11680,805,0001,995,0002,273,280
14Sep 17, 2025 01:249,976109,335,84281,804,000997,0002,269,184
15Sep 17, 2025 01:249,976110,727,99780,806,0001,995,0002,269,184
16Sep 17, 2025 01:249,977111,005,37881,809,000997,0002,273,280
17Sep 17, 2025 01:249,977113,139,11680,813,0001,995,0002,519,040
18Sep 17, 2025 01:249,978110,528,17782,818,00002,367,488