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 listAug 17, 2024 07:52Thomas SayenThomas SayenScore: 1,650,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 07:521,640,18613,683,290,76513,613,540,13102,256,896
2Aug 17, 2024 07:521,650,39013,773,168,22913,698,236,04302,244,608
3Aug 17, 2024 07:521,650,67713,771,563,33013,700,619,56702,256,896