add: swea/21425.py

This commit is contained in:
Gyubin
2024-11-12 17:47:08 +09:00
parent a493536ad8
commit e3c6c8b32a

14
swea/21425.py Normal file
View File

@@ -0,0 +1,14 @@
t=int(input())
for _ in range(t):
count=0
x,y,n=map(int,input().split())
while(x<=n and y<=n):
count+=1
if(x<y):
x+=y
else:
y+=x
print(count)