这道题用函数就行了 #include <bits/stdc++.h> using namespace std;
int main() { int maxx, a, b, c; cin >> a >> b >> c; maxx = max(a, max(b, c)); cout << maxx;
return 0;
}
使用您的 蒙青创OJ 通用账户