Commit 7ec1a9e
committed
Add Binary(Plus / %)
1.next = Plus / 2; current = Plus % 2;
2.The sequence of '+' ;
3.res = str(Plus % 2) + res NOT equal res += str(Plus % 2)1 parent db0ae71 commit 7ec1a9e
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments