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 18, 2024 01:51zielajzielajScore: 3,804Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 18, 2024 01:513,71760,578,36229,855,000995,0002,359,296
2Nov 18, 2024 01:513,74452,783,95730,075,0001,002,0002,523,136
3Nov 18, 2024 01:513,79853,510,02531,527,00002,375,680
4Nov 18, 2024 01:513,80454,713,46630,555,0001,018,0002,375,680
5Nov 18, 2024 01:513,83756,801,37129,859,0001,990,0002,375,680
6Nov 18, 2024 01:513,83755,715,76831,851,00002,383,872