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 10, 2023 10:15matsuoka-601matsuoka-601Score: 9,665Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2023 10:159,647100,794,20978,072,0002,001,0002,285,568
2Nov 10, 2023 10:159,647105,070,17678,069,0002,001,0002,514,944
3Nov 10, 2023 10:159,649102,980,03278,084,0002,002,0002,285,568
4Nov 10, 2023 10:159,651108,129,69779,099,0001,001,0002,285,568
5Nov 10, 2023 10:159,652103,959,55179,112,0001,001,0002,285,568
6Nov 10, 2023 10:159,653107,265,67278,114,0002,002,0002,510,848
7Nov 10, 2023 10:159,659107,249,32278,168,0002,004,0002,285,568
8Nov 10, 2023 10:159,665103,879,73279,219,0001,002,0002,285,568
9Nov 10, 2023 10:159,666109,585,14779,224,0001,002,0002,285,568
10Nov 10, 2023 10:159,672103,730,50478,269,0002,006,0002,285,568
11Nov 10, 2023 10:159,683109,245,09778,358,0002,009,0002,285,568
12Nov 10, 2023 10:159,769103,617,05180,083,0001,001,0002,285,568
13Nov 10, 2023 10:1510,816159,360,14289,773,88002,273,280
14Nov 10, 2023 10:1510,824141,699,35489,835,80302,285,568
15Nov 10, 2023 10:1510,839152,610,11889,960,41302,277,376