Português
Abrir no Telegram

Tópico دوستان لطفا برسی کنید ببینید که این اسکریپت از لحاظ الگوریتم بهینه و در چه سطحی قرار داره . برای بهبودش چه کار هایی باید…

3 mensagens · –
M
دوستان لطفا برسی کنید ببینید که این اسکریپت از لحاظ الگوریتم بهینه و در چه سطحی قرار داره . برای بهبودش چه کار هایی باید انجام بدم ؟
  1. M
    import math # vars a = 3 b = 1 c = -2 # Operator Vars D = int(b**2-4*a*c) jazrD = int(math.sqrt(D)) dobarabar = 2*a hesab1 = (-b+jazrD)/dobarabar hesab2 = (-b-jazrD)/dobarabar # Main Operation if D >= 0: if hesab1 != 0: print(hesab1) else: print( str((-b+jazrD)) + "/" + str(dobarabar)) if hesab2 != 0: print(hesab2) else: print( str((-b-jazrD)) + "/" + str(dobarabar)) # Script By Mohsen Bostan # Github : https://github.com/mohsenbostan

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