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 13, 2023 05:20Serge SmirnovSerge SmirnovScore: 33,219Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2023 05:2033,187339,134,738275,451,37402,281,472
2Oct 13, 2023 05:2033,205354,955,115275,599,12502,289,664
3Oct 13, 2023 05:2033,209337,398,751275,636,87102,252,800
4Oct 13, 2023 05:2033,219328,326,677275,713,92402,285,568
5Oct 13, 2023 05:2033,223349,871,780275,749,13502,285,568
6Oct 13, 2023 05:2033,228339,188,204275,795,43002,252,800