OpenGenus/cosmos

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

Open

#113 aberto em 1 de out. de 2017

Ver no GitHub
 (10 comments) (0 reactions) (0 assignees)C++ (3.724 forks)batch import
Hacktoberfestadd codenew algorithm

Métricas do repositório

Stars
 (13.462 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador