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 4, 2023 17:51Serge SmirnovSerge SmirnovScore: 1,641,732Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2023 11:371,635,92113,635,546,74213,578,147,52102,244,608
2Oct 11, 2023 10:591,636,76813,654,061,29313,585,176,22402,256,896
3Oct 11, 2023 10:591,639,37413,674,407,27813,606,807,98702,256,896
4Oct 5, 2023 11:371,640,46813,686,687,12113,615,887,33502,248,704
5Oct 9, 2023 13:271,641,05013,693,982,50013,620,711,24902,260,992
6Oct 11, 2023 10:591,641,21313,684,732,36113,622,066,77602,252,800
7Oct 9, 2023 13:271,641,73213,698,977,59413,626,378,84602,265,088
8Oct 4, 2023 17:511,642,21013,688,966,97813,630,341,16602,248,704
9Oct 4, 2023 17:511,643,10213,684,798,29713,637,742,99302,252,800
10Oct 9, 2023 13:271,643,17213,709,113,51613,638,327,22702,252,800
11Oct 4, 2023 17:511,644,66113,730,589,19613,650,690,29702,248,704
12Oct 5, 2023 11:371,778,69614,819,584,45714,763,174,92702,260,992