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 listJun 7, 2024 17:46GraceGraceScore: 41,800Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:4541,592404,828,810345,214,48202,265,088
2Jun 7, 2024 17:4641,620414,798,812345,442,43302,273,280
3Jun 7, 2024 17:4541,664405,162,572345,810,74602,273,280
4Jun 7, 2024 17:4541,679404,988,046345,938,99002,260,992
5Jun 7, 2024 17:4541,726418,683,535346,328,69902,400,256
6Jun 7, 2024 17:4541,793410,678,663346,882,34202,265,088
7Jun 7, 2024 17:4541,800405,456,782346,937,62702,269,184
8Jun 7, 2024 17:4541,809410,715,937347,013,69902,265,088
9Jun 7, 2024 17:4641,845436,509,622347,315,33702,392,064
10Jun 7, 2024 17:4642,310416,462,867351,170,06802,269,184
11Jun 7, 2024 17:4542,982428,442,104356,751,46602,400,256
12Jun 7, 2024 17:4542,990435,306,588356,820,94802,269,184