Memory is now interested in the de-evolution of objects, specifically  dịch - Memory is now interested in the de-evolution of objects, specifically  Việt làm thế nào để nói

Memory is now interested in the de-

Memory is now interested in the de-evolution of objects, specifically triangles. He starts with an equilateral triangle of side length x, and he wishes to perform operations to obtain an equilateral triangle of side length y.

In a single second, he can modify the length of a single side of the current triangle such that it remains a non-degenerate triangle (triangle of positive area). At any moment of time, the length of each side should be integer.

What is the minimum number of seconds required for Memory to obtain the equilateral triangle of side length y?

Input
The first and only line contains two integers x and y (3 ≤ y 
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Memory is now interested in the de-evolution of objects, specifically triangles. He starts with an equilateral triangle of side length x, and he wishes to perform operations to obtain an equilateral triangle of side length y.In a single second, he can modify the length of a single side of the current triangle such that it remains a non-degenerate triangle (triangle of positive area). At any moment of time, the length of each side should be integer.What is the minimum number of seconds required for Memory to obtain the equilateral triangle of side length y?InputThe first and only line contains two integers x and y (3 ≤ y < x ≤ 100 000) — the starting and ending equilateral triangle side lengths respectively.OutputPrint a single integer — the minimum number of seconds required for Memory to obtain the equilateral triangle of side length y if he starts with the equilateral triangle of side length x.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Bộ nhớ là bây giờ quan tâm trong de-tiến hóa của các đối tượng, đặc biệt là tam giác. Ông bắt đầu với một tam giác đều có độ dài cạnh x, và ông muốn thực hiện các hoạt động để có được một tam giác đều có độ dài cạnh y.

Trong một giây, ông có thể thay đổi độ dài của một mặt duy nhất của tam giác hiện tại như vậy mà nó vẫn còn là một tam giác không thoái hóa (tam giác của khu vực tích cực). Tại bất kỳ thời điểm thời gian, chiều dài của mỗi bên phải là số nguyên.

Số lượng tối thiểu của giây cần thiết cho bộ nhớ để có được những hình tam giác đều có độ dài cạnh y là gì?

Input
Dòng đầu tiên và chỉ chứa hai số nguyên x và y (3 ≤ y <x ≤ 100 000) - bắt đầu và kết thúc chiều dài mặt tam giác đều tương ứng.

Output
In một số nguyên duy nhất - số lượng tối thiểu của giây cần thiết cho bộ nhớ để có được những hình tam giác đều có độ dài cạnh y khi ông bắt đầu với các tam giác đều của bên chiều dài x.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: