Deutsch
Telegram

Beitragimport math

30. Juli 2025
D
Deloitte | COGNIZANT | IBM | CAPGEMINI
import math def is_possible(K, houses, H): total_time = 0 for house in houses: total_time += math.ceil(house / K) return total_time <= H def find_min_K(n, H, houses): low = 1 high = max(houses) answer = high while low <= high: mid = (low + high) // 2 if is_possible(mid, houses, H): answer = mid high = mid - 1 else: low = mid + 1 return answer n, H = map(int, input().split()) houses = list(map(int, input().split())) print(find_min_K(n, H, houses)) q1 //quantiphi✅
1.3K ·

In der Nähe im Feed

DDeloitte | COGNIZANT | IBM | CAPGEMINIION all slots ✅✅ Contact : @MLCODER2DDeloitte | COGNIZANT | IBM | CAPGEMINICapgemini ✅✅ Contact: @MLCODER2
diese Nachricht
DDeloitte | COGNIZANT | IBM | CAPGEMINIdef max_points(points): n = len(points) if n == 0: return 0 if n == 1: return points[0] dp = [0] * n dp[0] = points[0] dp[1] = max(points[0], points[1])DDeloitte | COGNIZANT | IBM | CAPGEMINIimport heapq from collections import defaultdict def solve(n, m, k, treasures, bridges, queries): graph = defaultdict(list) for u, v, w in bridges: graph[u - 1]
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