Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
61171 万正钰 比较大小 C++ Compile Error 0 MS 0 KB 303 2023-12-02 17:09:47

Tests(0/0):


Code:

#include<algorithm> #include<iostream> #include<cstring> #include<cmath> #include<iomanip> using namespace std; int main(){ int a,b; int *p1,*p2; cin>>a>>b; p1=&a; p2=&b; if(*p1>*p2){ cout<<*p1<<*p2; } else cout<<*p2<<*p1 return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:18:5: error: expected ';' before 'return'
     return 0;
     ^