OpenGenus/cosmos

Divide two integers without using multiplication, division and mod operator (Bit Manipulation)

Open

#113 aperta il 1 ott 2017

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)C++ (3724 fork)batch import
Hacktoberfestadd codenew algorithm

Metriche repository

Star
 (13.462 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Divide two integers without using multiplication, division and mod operator.

One has to return the floor of the result of division

Example 9/4=2

Guida contributor