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 16, 2025 14:47Aniruddha DebAniruddha DebScore: 5,977Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2025 14:475,79469,081,04442,077,0006,011,0002,285,568
2Mar 16, 2025 14:515,86369,148,18743,596,0005,069,0002,433,024
3Mar 16, 2025 15:525,88074,476,74842,825,0005,975,0002,408,448
4Mar 16, 2025 15:475,89275,142,27343,809,0005,094,0002,441,216
5Mar 16, 2025 15:185,90767,828,06241,023,0008,004,0002,445,312
6Mar 16, 2025 15:485,91673,774,08741,086,0008,016,0002,289,664
7Mar 16, 2025 15:535,93771,480,92643,247,0006,034,0002,416,640
8Mar 16, 2025 15:485,94878,143,94445,338,0004,030,0002,392,064
9Mar 16, 2025 15:535,95874,709,80743,400,0006,055,0002,387,968
10Mar 16, 2025 15:525,97776,074,82942,526,0007,087,0002,506,752
11Mar 16, 2025 15:475,97774,779,25242,522,0007,087,0002,412,544
12Mar 16, 2025 14:475,99077,975,21641,765,0007,955,0002,519,040
13Mar 16, 2025 14:516,00275,655,17443,836,0005,977,0002,310,144
14Mar 16, 2025 15:186,00380,635,80441,850,0007,971,0002,535,424
15Mar 16, 2025 15:486,00575,611,37044,858,0004,984,0002,338,816
16Mar 16, 2025 15:526,00771,854,36542,876,0006,979,0002,269,184
17Mar 16, 2025 15:476,04477,573,15144,148,0006,020,0002,416,640
18Mar 16, 2025 14:476,05273,862,40745,207,0005,023,0002,387,968
19Mar 16, 2025 14:516,05677,776,32544,234,0006,031,0002,387,968
20Mar 16, 2025 15:536,09579,403,23643,509,0007,082,0002,379,776
21Mar 16, 2025 15:186,18073,670,20545,258,0006,034,0002,453,504