2 051
Підписники
Немає даних24 години
Немає даних7 днів
Немає даних30 днів
Архів дописів
1. Given N points on the x-axis
2. A subarray
3. Parthevia consists of n cities
09 серп 2021, 02:57
Anyone wants assistance for accenture drive@7:30pm text me
10 черв 2021, 05:15
Hi H R Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
10 січ 2022, 09:47
Hi 🔹🔷🔹 , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
03 квіт 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 бер 2021, 12:17
Hi Akshay Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
06 трав 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 бер 2021, 23:50
Hi ,i have interview with fathima zohra pls any one help me
24 бер 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 серп 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 трав 2021, 01:12
