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 12, 2024 01:49zielajzielajScore: 6,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 12, 2024 01:495,98271,251,43448,639,0001,013,0002,273,280
2Nov 12, 2024 01:496,00575,777,28449,843,00002,428,928
3Nov 12, 2024 01:496,12479,331,43848,837,0001,993,0002,428,928
4Nov 12, 2024 01:496,65674,741,96154,241,0001,004,0002,510,848
5Nov 12, 2024 01:496,65676,915,06053,233,0002,008,0002,531,328
6Nov 12, 2024 01:496,76180,138,68555,111,0001,002,0002,531,328