Warm-Up Trap

3

1 votes
Easy
Problem

You are given an array of N integers. Your task is find the Greatest Common Divisor of the array.
Input Format:
Input will contain an interger N. Next line contain N space saperated integers.
Output Format:
Output will contain the Greatest Common Divisor of the array.
Contraints:
1N105
0a[i]109

Time Limit: 0.2
Memory Limit: 256
Source Limit:
Editor Image

?