Deutsch
Telegram

Beitragimport java.util.*;

16. September 2025
D
Deloitte | COGNIZANT | IBM | CAPGEMINI
import java.util.*; class SolutionClass { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int K = sc.nextInt(); String s = sc.next(); Set<Integer>set= new HashSet<>(); for (int i = 0; i < K; i++) set.add(sc.nextInt()); StringBuilder sb = new StringBuilder(); int i = 0; while (i < n) { int j = i + 1; while (j < n && s.charAt(j) == s.charAt(i)) j++; int len = j - i; if (!set.contains(len)) { sb.append(s, i, j); } i = j; } System.out.println(sb.length() == 0 ? "ERROR" : sb.toString()); } } //consecutive characters✅ CAPGEMINI✅
961 ·

In der Nähe im Feed

DDeloitte | COGNIZANT | IBM | CAPGEMINICPAGEMINI 1-PM OA HELP AVAILABLE✅✅ contact : @MLCODER2DDeloitte | COGNIZANT | IBM | CAPGEMINIclass SolutionClass { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String s = sc.nextLine().trim(); int k= 0; for (int i = 0; i <
diese Nachricht
DDeloitte | COGNIZANT | IBM | CAPGEMINIIBM CLEARED & GOT COMMUNICATION MAIL✅ Contact : @MLCODER2DDeloitte | COGNIZANT | IBM | CAPGEMINICAPGEMINI ON-CAMPUS EXAM✅✅ Contact : @MLCODER2
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