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 13, 2026 17:42wnwnScore: 4,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 13, 2026 17:394,31661,224,27733,834,0001,990,0002,490,368
2Mar 13, 2026 17:044,31766,235,23034,832,000995,0002,273,280
3Mar 13, 2026 17:044,32462,880,41733,896,0001,993,0002,273,280
4Mar 13, 2026 17:044,32657,347,05833,913,0001,994,0002,273,280
5Mar 13, 2026 17:044,33059,086,24333,944,0001,996,0002,273,280
6Mar 13, 2026 18:484,33059,875,98633,946,0001,996,0002,490,368
7Mar 13, 2026 17:044,33758,435,52733,997,0001,999,0002,273,280
8Mar 13, 2026 18:484,33860,633,99734,005,0002,000,0002,531,328
9Mar 13, 2026 18:324,34160,177,47834,026,0002,001,0002,494,464
10Mar 13, 2026 17:044,34257,850,39434,037,0002,002,0002,273,280
11Mar 13, 2026 18:324,34456,931,94034,051,0002,003,0002,498,560
12Mar 13, 2026 17:424,34456,997,94734,055,0002,003,0002,273,280
13Mar 13, 2026 17:394,35063,584,27034,098,0002,005,0002,273,280
14Mar 13, 2026 17:044,35058,685,25234,100,0002,005,0002,486,272
15Mar 13, 2026 17:394,36058,427,55934,175,0002,010,0002,486,272
16Mar 13, 2026 18:484,37262,547,08034,270,0002,015,0002,273,280
17Mar 13, 2026 17:424,38959,165,30435,420,0001,012,0002,490,368
18Mar 13, 2026 17:424,39161,571,71135,432,0001,012,0002,273,280
19Mar 13, 2026 18:324,63462,849,17636,437,0002,024,0002,498,560
20Mar 13, 2026 17:044,68959,376,28636,926,0001,996,0002,490,368
21Mar 13, 2026 17:044,69363,093,52536,953,0001,997,0002,490,368