def min_steps(x, y):
if y % 2 == 0:
if y % x == 0:
return y // xelse:
return y // x + 2else:
if y % x == 0:
return y // x + 1else:
return y // x + 3# 读取输入
x, y = map(int, input().split())
# 输出结果print(min_steps(x, y))
m0_54854484的博客1.把二元查找树转变成排序的双向链表 题目: ...首先我们定义的二元查找树 节点的数据结构如下: struct BSTreeNode{int m_nValue; // value of nodeBSTreeNode *m_pLeft; // left child of nodeBSTreeNo