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 20, 2024 22:05zielajzielajScore: 3,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2024 22:053,68659,248,72229,572,0001,019,0002,383,872
2Nov 20, 2024 22:053,69355,084,65328,612,0002,043,0002,383,872
3Nov 20, 2024 22:053,71554,757,43028,848,0001,989,0002,383,872
4Nov 20, 2024 22:053,83861,467,52430,860,000995,0002,396,160
5Nov 20, 2024 22:053,83863,195,19331,856,00002,396,160
6Nov 20, 2024 22:053,84057,535,91930,877,000996,0002,387,968