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
