Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
integer division
//Title of this code #include <iostream> unsigned integerDivision(unsigned a, unsigned b) { if (b > a || b == 0) return 0; int i = 0; do { a -= b; ++i; } while (a >= b); return i; } int main() { std::cout << integerDivision(5,0); }
run
|
edit
|
history
|
help
0
Empty C++ Script
bc
sorting using array and pointer
DP on Trees: Type B (In/out Dp)
code
Buenos Amigos
Classes Pt 2 c++
pangram
Clementina
backtracking