Computer Science, asked by challamoulikareddy20, 20 hours ago

CURIOSITY IS GOOD 029 co 01029 Vaibhav is curious about stuff which involves calculations. Unfortunat vo You are given two numbers x and y. O In one move you can remove any 1 number between x and y or choos any number of moves. Now you have to find out the minimum moves required, such that the from x to y is not 0. Simply print the answer in one line:
minimum moves required is an where and is answer to the problem
example 1.x=1,y=6​

Answers

Answered by puduthaakhila
1

CURIOSITY IS GOOD 029 co 01029 Vaibhav is curious about stuff which involves calculations. Unfortunat vo You are given two numbers x and y. O In one move you can remove any 1 number between x and y or choos any number of moves. Now you have to find out the minimum moves required, such that the from x to y is not 0. Simply print the answer in one line:

minimum moves required is an where and is answer to the problem

example 1.x=1,y=6

Answered by dvbh914
0

Answer:

CURIOSITY IS GOOD 029 co 01029 Vaibhav is curious about stuff which involves calculations. Unfortunately vo You are given two numbers x and y. O In one move you can remove any 1 number between x and y or choose any number of moves. Now you have to determine the minimum moves required, such that the from x to y is not 0. Print the answer in one line:

minimum moves required is an where and is the answer to the problem

example 1.x=1,y=6​

Explanation:

CURIOSITY IS GOOD 029 co 01029 Vaibhav is curious about stuff which involves calculations. Unfortunat vo You are given two numbers x and y. O In one move you can remove any 1 number between x and y or choose any number of activities. Now you have to determine the minimum actions required, such that the from x to y is not 0. Print the answer in one line: minimum activities required is an were and is the answer to the problem example 1.x=1,y=6​

Similar questions