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 listSep 1, 2023 22:31Ignas BagdonasIgnas BagdonasScore: 18,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2023 22:3118,246222,470,930151,439,51402,281,472
2Sep 1, 2023 22:3118,263209,597,971151,586,05702,293,760
3Sep 1, 2023 22:3118,307223,513,971151,950,29602,297,856
4Sep 1, 2023 22:3118,363175,148,329148,402,0004,010,0002,273,280
5Sep 1, 2023 22:3118,379182,159,224151,539,0001,003,0002,273,280
6Sep 1, 2023 22:3118,386178,172,417151,598,0001,003,0002,265,088
7Sep 1, 2023 22:3118,389184,978,297151,623,0001,004,0002,273,280
8Sep 1, 2023 22:3118,409179,967,436150,794,0001,997,0002,273,280
9Sep 1, 2023 22:3118,424176,033,094151,922,000999,0002,273,280
10Sep 1, 2023 22:3118,441177,103,109149,056,0004,001,0002,273,280
11Sep 1, 2023 22:3118,540181,988,692150,886,0002,997,0002,273,280
12Sep 1, 2023 22:3118,543178,699,642151,910,0001,998,0002,273,280