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, 2026 17:50wnwnScore: 4,376Success
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, 2026 17:504,32555,840,64033,903,0001,994,0002,273,280
2Mar 6, 2026 17:504,34062,957,80734,018,0002,001,0002,494,464
3Mar 6, 2026 18:434,34061,308,10934,021,0002,001,0002,273,280
4Mar 6, 2026 18:424,35060,297,09534,097,0002,005,0002,490,368
5Mar 6, 2026 19:004,35358,025,67934,126,0002,007,0002,273,280
6Mar 6, 2026 18:414,36059,933,84234,179,0002,010,0002,490,368
7Mar 6, 2026 19:004,36457,562,43534,213,0002,012,0002,502,656
8Mar 6, 2026 17:504,37564,790,23635,302,0001,008,0002,490,368
9Mar 6, 2026 18:424,37657,659,12435,315,0001,009,0002,486,272
10Mar 6, 2026 18:434,37658,706,78035,315,0001,009,0002,273,280
11Mar 6, 2026 18:424,38255,020,24735,358,0001,010,0002,490,368
12Mar 6, 2026 19:004,38764,341,50235,400,0001,011,0002,273,280
13Mar 6, 2026 18:474,40261,076,88635,523,0001,014,0002,273,280
14Mar 6, 2026 18:434,41365,873,90235,614,0001,017,0002,494,464
15Mar 6, 2026 18:414,43765,547,04034,836,0001,990,0002,498,560
16Mar 6, 2026 18:474,44061,754,18935,859,000996,0002,494,464
17Mar 6, 2026 18:414,46260,603,62835,030,0002,001,0002,490,368
18Mar 6, 2026 18:4710,730112,826,72888,056,0001,000,0002,273,280