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 18, 2026 10:37wnwnScore: 4,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2026 10:364,23557,593,53933,145,0002,008,0002,523,136
2Mar 18, 2026 10:364,23562,091,92033,141,0002,008,0002,273,280
3Mar 18, 2026 10:414,23952,529,26033,171,0002,010,0002,490,368
4Mar 18, 2026 10:374,24261,565,88833,195,0002,011,0002,273,280
5Mar 18, 2026 10:364,25354,798,15334,290,0001,008,0002,486,272
6Mar 18, 2026 10:414,25464,222,10334,301,0001,008,0002,273,280
7Mar 18, 2026 10:414,25756,304,91534,328,0001,009,0002,494,464
8Mar 18, 2026 10:364,25962,805,51633,330,0002,020,0002,273,280
9Mar 18, 2026 10:374,26157,697,94334,357,0001,010,0002,273,280
10Mar 18, 2026 10:364,27755,367,97134,487,0001,014,0002,273,280
11Mar 18, 2026 10:374,29758,899,31034,647,0001,019,0002,273,280
12Mar 18, 2026 10:374,31762,221,87533,840,0001,990,0002,273,280
13Mar 18, 2026 10:374,31863,262,65334,844,000995,0002,498,560
14Mar 18, 2026 10:364,31969,402,18033,859,0001,991,0002,273,280
15Mar 18, 2026 10:364,32064,973,56233,868,0001,992,0002,273,280
16Mar 18, 2026 10:364,32158,182,88233,871,0001,992,0002,531,328
17Mar 18, 2026 10:364,32658,222,13533,913,0001,994,0002,273,280
18Mar 18, 2026 10:374,73464,216,21938,287,0001,007,0002,498,560