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 listOct 15, 2024 16:30Elnur RakhmatullinElnur RakhmatullinScore: 68,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2024 16:2867,802590,293,316488,792,00073,968,0002,273,280
2Oct 15, 2024 16:3067,846590,001,327490,109,00073,016,0002,510,848
3Oct 15, 2024 16:2868,082591,021,037495,074,00070,010,0002,281,472
4Oct 15, 2024 16:3068,198596,762,672495,036,00071,005,0002,461,696
5Oct 15, 2024 16:2869,553603,960,104492,396,00084,895,0002,506,752
6Oct 15, 2024 16:3069,757610,321,036494,983,00083,997,0002,482,176