Skip to content

Commit 8a63211

Browse files
authored
Update A2B.md
1 parent 8e250ea commit 8a63211

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

content/Blog/A2B.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,8 @@ x = 1
787787

788788
### 5-4. A - B
789789

790+
#### Solution 1 (18 lines)
791+
790792
> Not a good solution, too
791793
792794
```
@@ -810,6 +812,35 @@ G1=
810812
(start)0=
811813
```
812814

815+
#### Solution 2 (8 lines)
816+
817+
```
818+
-1 = |x-
819+
-0 = |-
820+
x| = |xx
821+
| =
822+
1x = 0
823+
0x = x1
824+
- =
825+
(start)0 =
826+
```
827+
828+
#### Solution 3 (11 lines, no keyword)
829+
830+
```
831+
-1 = |x-
832+
-0 = |-
833+
x| = |xx
834+
| =
835+
1x = 0
836+
0x = x1
837+
- = yyyyyyy
838+
0y = y0
839+
1y = y1
840+
y0 =
841+
y =
842+
```
843+
813844
### 5-5. A * B
814845

815846
> No solution yet

0 commit comments

Comments
 (0)