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 listNov 14, 2024 03:55zielajzielajScore: 5,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 03:554,31865,412,46535,838,00002,523,136
2Nov 14, 2024 03:554,31868,107,89233,850,0001,991,0002,514,944
3Nov 14, 2024 03:554,33957,274,23834,011,0002,000,0002,514,944
4Nov 14, 2024 03:555,02067,237,92441,664,00002,375,680
5Nov 14, 2024 03:555,03565,483,87939,803,0001,990,0002,371,584
6Nov 14, 2024 03:555,09363,624,04142,272,00002,387,968