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 2, 2026 15:23caandocaandoScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 2, 2026 15:235,28572,122,63242,845,0001,020,0002,285,568
2Mar 4, 2026 15:325,28867,021,49041,896,0001,995,0002,285,568
3Mar 4, 2026 15:325,29364,508,40841,934,0001,996,0002,523,136
4Mar 4, 2026 15:325,29368,019,62941,939,0001,997,0002,285,568
5Mar 4, 2026 15:325,29471,411,17342,941,000998,0002,269,184
6Mar 2, 2026 15:235,29674,205,97341,956,0001,997,0002,289,664
7Mar 4, 2026 15:325,29666,452,10941,959,0001,998,0002,514,944
8Mar 4, 2026 15:325,29667,413,33941,958,0001,998,0002,285,568
9Mar 4, 2026 15:325,29768,387,86241,971,0001,998,0002,527,232
10Mar 2, 2026 15:235,29869,817,56742,972,000999,0002,285,568
11Mar 4, 2026 15:325,29965,285,14741,985,0001,999,0002,523,136
12Mar 4, 2026 15:325,33774,334,37642,332,0001,968,0002,490,368
13Mar 4, 2026 15:325,40370,406,89842,851,0001,993,0002,269,184
14Mar 2, 2026 15:235,40371,997,70442,856,0001,993,0002,285,568
15Mar 4, 2026 15:325,40566,712,88042,865,0001,993,0002,285,568
16Mar 4, 2026 15:325,40969,729,44742,897,0001,995,0002,285,568
17Mar 2, 2026 15:235,40965,258,05342,901,0001,995,0002,363,392
18Mar 2, 2026 15:235,48270,144,98644,487,0001,011,0002,285,568