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 listAug 11, 2023 11:04igorfardocigorfardocScore: 36,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2023 11:0534,221344,458,511284,038,43302,285,568
2Aug 11, 2023 11:0434,237354,642,057284,167,88702,289,664
3Aug 10, 2023 15:3136,945371,164,769306,643,68502,281,472
4Aug 11, 2023 11:0536,952384,632,352306,698,95202,297,856
5Aug 10, 2023 15:3136,962384,316,909306,788,61302,289,664
6Aug 11, 2023 11:0436,967378,407,657306,825,38302,289,664
7Aug 11, 2023 11:0536,971387,462,882306,860,15002,297,856
8Aug 10, 2023 15:3136,972382,847,495306,864,36602,297,856
9Aug 11, 2023 11:0436,974383,797,446306,884,95902,289,664