Deutsch
Telegram

Beitragdef solve(s):

19. Januar 2025
D
Deloitte | COGNIZANT | IBM | CAPGEMINI
def solve(s): for i in range(1, len(s)): s1, s2 = s[:i], s[i:] if s1.count('a') == len(s1) and s2.count('b') == len(s2): return True return False n=int(input()) ans=0 for _ in range(n): s=input() if solve(s): ans+=1 print(ans) #special string #wipro
1.1K ·

In der Nähe im Feed

DDeloitte | COGNIZANT | IBM | CAPGEMINIIBM OFFLINE CODING + RECORDED VIDER ROUND + GD Cleared ✅✅ NOW FINAL INTERVIEW HAS TO BE CLEARED ✅✅✅ 100% CLEARANCE FOR ANY PLACEMENT EXAM & INTERVIEW ✅ Contact:DDeloitte | COGNIZANT | IBM | CAPGEMINIWipro exam done successfully ✅✅ i Contact: @MLCODER2
diese Nachricht
DDeloitte | COGNIZANT | IBM | CAPGEMINIn=int(input()) arr=[int(i) for i in input().split()] p=[i for i in arr if i>0] mid=len(p)//2 if mid%2==0:print(p[mid-1]) else:print(p[mid]) #positviemidindexDDeloitte | COGNIZANT | IBM | CAPGEMINIprint(sum(int(i) for i in input().split() if int(i)<0)) #sumofnegativenumbers
DDeloitte | COGNIZANT | IBM | CAPGEMINIDeloitte | COGNIZANT | IBM | CAPGEMINI@python_java_Coding · Kanal · Technik
7 178Abonnenten451durchschnittliche Beitragsreichweite
Community-Feed In Telegram öffnen

Ein offener öffentlicher Feed aus dem Suchindex ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird. Zeiten in UTC.

Nur öffentliche Inhalte, offizielle Telegram-API. Über uns · FAQ · Grenzen des Index · Seite entfernen · Katalog · Suche · So zählen wir