Português
Abrir no Telegram

Postimport math

30 de julho de 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 ·

Por perto no feed

DDeloitte | COGNIZANT | IBM | CAPGEMINIION all slots ✅✅ Contact : @MLCODER2DDeloitte | COGNIZANT | IBM | CAPGEMINICapgemini ✅✅ Contact: @MLCODER2
esta mensagem
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 · canal · Tecnologia
7 178inscritos451alcance médio dos posts
Feed da comunidade Abrir no Telegram

Um feed público aberto do índice de busca ChatCrawler — “o Google do Telegram público”; atualizado à medida que a comunidade é rastreada. Horários em UTC.

Somente conteúdo público, API oficial do Telegram. Sobre · Perguntas frequentes · Limites do índice · Remover uma página · Catálogo · Busca · Como calculamos