Run ID:110174

提交时间:2025-02-15 13:13:41

#include <iostream> #include <algorithm> // 用于 std::max using namespace std; int main() { int a, b; char comma; // 用于读取逗号 // 读取两个整数,用逗号分隔 cin >> a >> comma >> b; // 比较大小并输出较大的值 cout << "max=" << max(a, b) << endl; return 0; }