IBM HACKERRANK CODING SOLUTIONS
Ir al canal en Telegram
We provide help for all Exams... Anyone can contact me @AK_Coder for Exam clearance and interviews Trusted ✅
Mostrar másEl país no está especificadoLa categoría no está especificada
4 420
Suscriptores
Sin datos24 horas
Sin datos7 días
Sin datos30 días
Archivo de publicaciones
12) B
13) 484
14) only 1 is strong - B
15) D
16.R
17)42153
18)bhy
19)C
20)A
@all_exam_help
@all_exam_help
@all_exam_help
@all_exam_help
@all_exam_help
@all_exam_help
def authentication_Error_code(n, m):
res = 1
if m > n - m:
m = n - m
for i in range(0, m):
res *= (n - i)
res /= (i + 1)
return res
def calculate_ways(m, n):
if m<n:
return 0
ways = authentication_Error_code(n + m-1, n-1)
return int(ways)
if name == 'main':
m =int(input())
n=int(input())
result = calculate_ways(m, n)
print(result)
Python3
Code for mango distribution
Telegram :- @bulliea
@bulliea
Channel, your message was hidden, forwards not allowed in this group.
