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 listMar 6, 2025 09:06dhairyadhairyaScore: 81,775Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 6, 2025 15:5381,533708,623,782558,775,000117,952,0002,375,680
2Mar 6, 2025 09:0681,553700,908,073550,908,000125,979,0002,306,048
3Mar 6, 2025 15:5381,574707,044,432558,053,000119,011,0002,301,952
4Mar 6, 2025 15:5381,656700,171,740562,786,000114,956,0002,363,392
5Mar 6, 2025 09:0681,662701,422,640561,832,000115,965,0002,449,408
6Mar 6, 2025 09:0681,680700,226,133562,952,000114,990,0002,338,816
7Mar 6, 2025 15:5381,695708,575,784561,059,000117,012,0002,379,776
8Mar 6, 2025 15:5381,726706,818,664556,446,000121,878,0002,371,584
9Mar 6, 2025 09:0681,754700,717,719554,638,000123,919,0002,297,856
10Mar 6, 2025 15:5381,775702,164,888556,784,000121,952,0002,306,048
11Mar 6, 2025 15:5381,809712,473,217572,015,000107,002,0002,506,752
12Mar 6, 2025 09:0681,870703,100,067586,586,00092,934,0002,519,040
13Mar 6, 2025 09:0681,873703,651,900561,628,000117,922,0002,375,680
14Mar 6, 2025 09:0681,880706,063,816565,674,000113,934,0002,310,144
15Mar 6, 2025 15:5381,896710,775,585563,782,000115,955,0002,310,144
16Mar 6, 2025 09:0681,938708,293,893563,068,000117,014,0002,367,488
17Mar 6, 2025 15:5381,941708,429,886562,093,000118,019,0002,277,376
18Mar 6, 2025 09:0681,944707,943,176559,292,000120,847,0002,494,464