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 listApr 29, 2024 05:31Anoushk KharangateAnoushk KharangateScore: 64,035Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 05:3263,936588,914,701530,664,81102,224,128
2Apr 29, 2024 05:3163,939594,187,830530,696,08902,232,320
3Apr 29, 2024 05:3263,968589,376,049530,935,44402,232,320
4Apr 29, 2024 05:3164,035593,333,847531,490,99402,232,320
5Apr 29, 2024 05:3164,096606,284,692531,997,29102,236,416
6Apr 29, 2024 05:3264,146588,970,886532,411,37502,228,224