We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Is anyone getting the same answer as I got?
my output:
12
3842
2852
for input:
3
5 3
100 100
100 50;
As per the best of my knowledge I have written correct logic for program.
So can you tell me whether my second and third output number is wrong or right?why?
-
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #148: Exploring Pascal's triangle.
You are viewing a single comment's thread. Return to all comments →
Is anyone getting the same answer as I got? my output: 12 3842 2852 for input: 3 5 3 100 100 100 50; As per the best of my knowledge I have written correct logic for program. So can you tell me whether my second and third output number is wrong or right?why?
-