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 listOct 9, 2023 00:45sliceteamsliceteamScore: 10,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2023 00:4510,425111,615,84185,519,0001,006,0002,392,064
2Oct 9, 2023 00:4510,427111,861,76285,538,0001,006,0002,260,992
3Oct 9, 2023 00:4510,429116,573,69485,554,0001,006,0002,506,752
4Oct 9, 2023 00:4510,430116,127,23385,563,0001,006,0002,379,776
5Oct 9, 2023 00:4510,430113,099,06686,570,00002,260,992
6Oct 9, 2023 00:4510,431122,189,30385,575,0001,006,0002,260,992
7Oct 9, 2023 00:4510,433112,709,87385,591,0001,006,0002,260,992
8Oct 9, 2023 00:4510,433117,402,01986,593,00002,260,992
9Oct 9, 2023 00:4510,434117,796,41485,597,0001,007,0002,260,992
10Oct 9, 2023 00:4511,280156,515,07693,625,13502,269,184
11Oct 9, 2023 00:4511,396163,698,89394,590,10002,240,512
12Oct 9, 2023 00:4511,398159,225,92494,602,76402,273,280
13Oct 9, 2023 00:4512,079120,712,82999,253,0001,002,0002,260,992
14Oct 9, 2023 00:4512,100126,492,72099,424,0001,004,0002,519,040
15Oct 9, 2023 00:4512,110125,413,980100,509,00002,514,944