IBM HACKERRANK CODING SOLUTIONS
前往频道在 Telegram
We provide help for all Exams... Anyone can contact me @AK_Coder for Exam clearance and interviews Trusted ✅
显示更多未指定国家未指定类别
4 420
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
Guys I didn't received email regarding tcs bps 26 Jan assessment. Does they scheduled assessment again or not
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
