2 051
Suscriptores
Sin datos24 horas
Sin datos7 días
Sin datos30 días
Archivo de publicaciones
1. Given N points on the x-axis
2. A subarray
3. Parthevia consists of n cities
09 ago 2021, 02:57
Anyone wants assistance for accenture drive@7:30pm text me
10 jun 2021, 05:15
Hi H R Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
10 ene 2022, 09:47
Hi 🔹🔷🔹 , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
03 abr 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 ago 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
