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 listAug 18, 2025 05:24Ashish AhujaAshish AhujaScore: 12,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2025 05:5712,014125,852,81089,743,0009,971,0002,523,136
2Aug 18, 2025 05:1912,117124,925,03090,617,0009,957,0002,482,176
3Aug 18, 2025 05:1912,123125,445,03093,650,0006,973,0002,482,176
4Aug 18, 2025 05:1912,138124,628,26791,769,0008,977,0002,347,008
5Aug 18, 2025 05:1912,154126,635,76390,889,0009,987,0002,519,040
6Aug 18, 2025 05:1912,193122,848,02594,191,0007,014,0002,277,376
7Aug 18, 2025 05:5712,240125,619,81894,548,0007,040,0002,347,008
8Aug 18, 2025 05:1912,274123,988,82894,881,0006,991,0002,347,008
9Aug 18, 2025 05:1912,274127,507,58492,883,0008,988,0002,375,680
10Aug 18, 2025 05:2412,358130,468,16093,612,0008,962,0002,281,472
11Aug 18, 2025 05:2412,441125,348,00996,243,0007,017,0002,523,136
12Aug 18, 2025 05:2412,457129,437,58096,364,0007,026,0002,519,040
13Aug 18, 2025 05:1912,490128,042,73194,697,0008,971,0002,523,136
14Aug 18, 2025 05:2412,693127,077,01998,329,0007,023,0002,519,040
15Aug 18, 2025 05:2412,896139,009,598100,035,0007,002,0002,342,912
16Aug 18, 2025 05:2412,902132,827,05899,078,0008,006,0002,523,136
17Aug 18, 2025 05:1913,501141,800,579102,054,00010,005,0002,461,696
18Aug 18, 2025 05:5713,700138,039,000102,737,00010,971,0002,351,104