ritikagarg0326 / Hactoberfest2021

1 stars 3 forks source link

hacktoberfest #2

Open ritikagarg0326 opened 2 years ago

ritikagarg0326 commented 2 years ago

t=int(input()) for i in range(t): n=int(input()) count=0 mac=0 arr=[] for i in range(1,n+1): arr.append(i) if n==1: print(1) else: for i in range(len(arr)): if (arr[i] & arr[i+1])>0: count=arr[i] & arr[i+1] mac=max(mac,count) print(mac)

Ritika457 commented 2 years ago

Can you please assign this issue to me. I can fix it.

ritikagarg0326 commented 2 years ago

Can you please assign this issue to me. I can fix it.

generate pr

Ritika457 commented 2 years ago

@ritikagarg0326 first you have to assign this to me. Only then i can generate pr.Take help from youtube to see how to assign this to me. Please do assign it to me.

nancy-singh10 commented 7 months ago

hey assign me this isssue