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 19, 2024 03:01zielajzielajScore: 3,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2024 03:013,52748,579,75627,257,0002,019,0002,535,424
2Nov 19, 2024 03:013,56654,893,96329,600,00002,428,928
3Nov 19, 2024 03:013,57455,430,86828,643,0001,022,0002,514,944
4Nov 19, 2024 03:013,71554,288,53229,837,000994,0002,449,408
5Nov 19, 2024 03:013,71658,653,08930,845,00002,531,328
6Nov 19, 2024 03:013,71759,193,17528,865,0001,990,0002,355,200