akshitagit / akshitagit/JavaScript

Find HCF

未关闭
#31 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Beginner good first issue Hacktoberfest hacktoberfest2020 Javascript
主要语言
JavaScript
星标
90
派生
106
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。