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 23:44zielajzielajScore: 3,747Success
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 23:443,55250,745,59429,481,00002,367,488
2Nov 18, 2024 23:443,55749,632,86428,503,0001,017,0002,367,488
3Nov 18, 2024 23:443,56657,069,49428,576,0001,020,0002,371,584
4Nov 18, 2024 23:443,74750,543,00130,096,0001,003,0002,269,184
5Nov 18, 2024 23:443,76857,249,61929,256,0002,017,0002,269,184
6Nov 18, 2024 23:443,81055,551,55431,627,00002,527,232