hdu 5584 LCM Walk(规律)
题目链接:hdu 5584 LCM Walk代码#include <cstdio>#include <cstring>#include <algorithm>using namespace std;int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }int main () { int cas; scanf("%d