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 15, 2024 19:42Elnur RakhmatullinElnur RakhmatullinScore: 60,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2024 19:2560,174525,473,750450,398,00049,043,0002,482,176
2Oct 15, 2024 19:2560,189524,784,540448,615,00050,956,0002,281,472
3Oct 15, 2024 19:4260,206521,927,969447,738,00051,969,0002,289,664
4Oct 15, 2024 19:4260,269526,144,420458,213,00042,019,0002,289,664
5Oct 15, 2024 19:2560,321526,560,773460,693,00039,973,0002,289,664
6Oct 15, 2024 19:4260,357524,891,749447,968,00052,996,0002,289,664