题解澈朔2024-01-13 15:30:47发布于:广东5阅读0回复0点赞#include<bits/stdc++.h> using namespace std; int f(int a,int b) { if(a%b==0) return b; else return f(b,a%b); } int main() { int a,b; cin>>a>>b; cout<<f(a,b); return 0; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个