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 22, 2024 02:34zielajzielajScore: 7,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 22, 2024 02:347,29392,194,60457,509,0003,026,0002,306,048
2Nov 22, 2024 02:347,38198,228,91958,249,0003,012,0002,293,760
3Nov 22, 2024 02:347,39789,273,44959,379,0002,012,0002,482,176
4Nov 22, 2024 02:347,65688,339,59861,531,0002,017,0002,510,848
5Nov 22, 2024 02:347,68685,463,24060,807,0002,990,0002,355,200
6Nov 22, 2024 02:347,69686,335,66158,884,0004,990,0002,347,008