Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
1071. Greatest Common Divisor of Strings
1071 Greatest Common Divisor of Strings Easy 30985Share For strings S and T we say 34 T divides S 34 if and only if S 61
1071
greatest
common
divisor
strings
最大公约数(greatest common divisor)
题目描述 有n个数字a1 a2 a3 an 求max gcd ai aj i 61 j gcd x y 表示x与y的最大公约数 输入格式 第一行一个整数n 之后一行n个数 xff0c 表示a1 a2 a3 an 输出格式 输出一个整数表示答
greatest
common
divisor
最大公约数