top of page

소스 코드 제출

공개·회원 52명

2025 05 31

#

# def f(n):

# if n==1:

# print(n)

# return

# if n%2==0:

# f(n//2)

# elif n%2==1:

# f(3*n+1)

# print(n)

# n = int(input())

# f(n)




# def f(n):

# print(n)

# if n==1 :

# return

# if n%2==1 :

# f(n*3+1)

# else :

# f(n//2)

#

# n = int(input())

# f(n)


# def f(n):

# if n-1<=0:

# return n

# return f(n-1)+f(n-2)

# n=int(input())

# print(f(n))


# def f(n):

# if n-1<=0:

# return n

# return f(n-1)+f(n-2)

# n=int(input())

# print(f(n))


def f(n):

if n<=0:

return

print(n)

f(n-1)

n=int(input())

f(n)

2회 조회
주소 : 경기도 용인시 광교중앙로 302 블루 스퀘어 602호
연락처 : 031) 216 - 1546 ,     031) 215 - 1546
사업자등록번호 : 465-92-00916
​학원 등록 제 4603호
bottom of page