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 listOct 14, 2024 00:36Joad NacerJoad NacerScore: 4,595Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2024 00:364,32061,081,77134,864,000996,0002,306,048
2Oct 14, 2024 00:364,33755,642,01035,001,0001,000,0002,387,968
3Oct 14, 2024 00:364,38661,262,56733,370,0003,033,0002,306,048
4Oct 14, 2024 00:364,59560,871,43936,131,0002,007,0002,293,760
5Oct 14, 2024 00:364,61558,821,61337,299,0001,008,0002,531,328
6Oct 14, 2024 00:364,77965,738,82539,663,00002,396,160