2 051
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kun
Ma'lumot yo'q30 kun
Postlar arxiv
1. Given N points on the x-axis
2. A subarray
3. Parthevia consists of n cities
09 Avg 2021, 02:57
Anyone wants assistance for accenture drive@7:30pm text me
10 Iyun 2021, 05:15
Hi H R Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
10 Yan 2022, 09:47
Hi 🔹🔷🔹 , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
03 Apr 2021, 01:39
Hi vijay , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
31 Mar 2021, 12:17
Hi Akshay Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
06 May 2022, 10:08
Hi Pragya , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
31 Mar 2021, 23:50
Hi ,i have interview with fathima zohra pls any one help me
24 Mar 2022, 10:57
If you Want To Make Own Any Type of - Website, app , telegram bot,Games,Mod's...etc Than sms Me.....
Sms me
17 Avg 2023, 11:44
#NICE_PERMUTATIONS
#PYTHON
from itertools import permutations as p
n=int(input())
if n<4:
print(0)
else:
l=[i for i in range(1,n+1)]
s=list(p(l))
res=[]
for k in s:
rem=[]
for j in k:
rem.append(j%2)
if rem[0]!=rem[1] or rem[-1]!=rem[-2]:
continue
c=1
for i in range(1,len(rem)-1):
if rem[i]==rem[i-1] or rem[i]==rem[i+1]:
continue
else:
c=0
break
if c:
res.append(k)
print(len(res)%((10**9)+7))
05 May 2021, 01:12
