I****k 发帖数: 35 | 1 假如一共只有3种操作可以用:
A->R
B->R
A-R->A
怎么用这三种操作来完成B->A的操作? |
k****f 发帖数: 3794 | 2 B->R (R=B)
A-R->A (A=A-B)
A->R (R=A-B)
A-R->A (A=B)
【在 I****k 的大作中提到】 : 假如一共只有3种操作可以用: : A->R : B->R : A-R->A : 怎么用这三种操作来完成B->A的操作?
|
I****k 发帖数: 35 | 3 not right.
At the 2nd step, A = A-B, so you can not do the fifth step since A = A-B
and R = A-B as well.
【在 k****f 的大作中提到】 : B->R (R=B) : A-R->A (A=A-B) : A->R (R=A-B) : A-R->A (A=B)
|
k****f 发帖数: 3794 | 4 A不见了。。。。
还不好办
【在 I****k 的大作中提到】 : not right. : At the 2nd step, A = A-B, so you can not do the fifth step since A = A-B : and R = A-B as well.
|
v*****u 发帖数: 1796 | 5 if A doesn't need to be maintained.
A B R
A -> R A B A
A-R -> A 0 B A
B -> R 0 B B
A-R->A -B B B
A -> R -B B -B
A-R ->A 0 B -B
A-R -> A B B -B
【在 I****k 的大作中提到】 : 假如一共只有3种操作可以用: : A->R : B->R : A-R->A : 怎么用这三种操作来完成B->A的操作?
|
b******g 发帖数: 54 | 6 嗯。厉害阿
【在 v*****u 的大作中提到】 : if A doesn't need to be maintained. : A B R : A -> R A B A : A-R -> A 0 B A : B -> R 0 B B : A-R->A -B B B : A -> R -B B -B : A-R ->A 0 B -B : A-R -> A B B -B
|