#include <iostream> using namespace std; int a,b;//声明两个变量 int main() { cin>>a>>b;//在主函数里面将a和b的值输入进去 cout<<max(a,b);//输出直接用max判断最大值在进行输出出去 // write your code here...... return 0; }