Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
【leetcode】1025. 除数博弈(divisor-game)(博弈)[简单]
链接 https leetcode cn com problems divisor game 耗时 解题 xff1a 12 min 题解 xff1a 9 min 题意 爱丽丝和鲍勃一起玩游戏 xff0c 他们轮流行动 爱丽丝先手开局 最初
LeetCode
1025
divisor
Game
除数博弈
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
最大公约数