English
Open in Telegram

Message # E

3 March 2024
P
Python Online o'quv markazi ma'lumot guruhi
# E n = int(input()) s = input() jami = 0 s = "10" + s +"01" i = 1 while i < n+4: nol = s.find("0",i) bir = s.find("1",nol) i = bir nollar = len(s[nol:bir]) if 2 < nollar: if nollar % 2 == 0: jami += ((nollar + nollar - 1)/2)//2 else: jami += ((nollar + nollar + 1)/2)//2 if bir == n + 3: break print(int(jami))

Nearby in the feed

PPython Online o'quv markazi ma'lumot guruhi#c masala n = int(input()) x = int(input()) y = int(input()) d = 0 if n > x+y: d = n - (x+y) elif n == 1 and x == y and x >= 0: d = 1 print(d) natijax = [] natiPPython Online o'quv markazi ma'lumot guruhi#D n,k = map(int, input().split()) hodimlar = list(map(int, input().split())) def max_average_subarray(nums, k): n = len(nums) sum_ = sum(nums[:k]) max_sum = su
this message
PPython Online o'quv markazi ma'lumot guruhiPrezident, ijod, ixtisoslashtirilgan maktab va maktab internatlari o'qituvchilari o'rtasida Informatika fanidan o‘tkaziladigan fan olimpiadasi(MIRROR) yechimlarIIlhom JabborovUstozlar bu masalani olimpiada kuni ko`pchilik ishladi. Lekin Memory limit xatolik berdi. Bu kod ham 48 MB olyapti. Olimpiada paytida talab 32 MB edi. Pythonda
PPython Online o'quv markazi ma'lumot guruhiPython Online o'quv markazi ma'lumot guruhi@pythonCourseInfo · group · Tech
2 363members1writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count