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 11, 2024 12:32Anatoly ZhmurAnatoly ZhmurScore: 173,313Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 12:32172,7701,462,896,2431,382,027,00051,963,0002,527,232
2Nov 11, 2024 12:32173,3131,463,687,6661,387,517,00050,982,0002,482,176
3Nov 11, 2024 12:32184,3021,550,827,0911,463,718,00065,987,0002,289,664