OpenGenus/cosmos

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

Open

#113 opened on 2017年10月1日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド