We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given N positive numbers, your task is to calculate their HCF. Input Format
First line of input contains a single integer N, second line contains N space separated positive integers whose HCF is to be computed. Constraints
N <= 10 and all the numbers lie between 1 and 100. Output Format
Print HCF of N numbers. Sample Input
3 2 4 6
Sample Output
2
The text was updated successfully, but these errors were encountered:
Add in maths folder
Sorry, something went wrong.
Can you assign me this issue?
done
Without assigning to me, Can I solve this issue ? or is it allowed to solve by the assigned persons only.
jakansha2001
No branches or pull requests
Given N positive numbers, your task is to calculate their HCF.
Input Format
First line of input contains a single integer N, second line contains N space separated positive integers whose HCF is to be computed.
Constraints
N <= 10 and all the numbers lie between 1 and 100.
Output Format
Print HCF of N numbers.
Sample Input
3
2 4 6
Sample Output
2
The text was updated successfully, but these errors were encountered: