There is a mistake with the solution of Test #3. Ans should be 7.40. Please check.
note: this is the wrong formula (x=0;y=12345;A=0;B=1;C=0 should return 12345, not 1...)
Come on, Amitava - you don't need to game the solution.
Number of 1s in the Binary Representation of a Number
359 Solvers
340 Solvers
428 Solvers
306 Solvers
find the surface area of a cube
344 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!