Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150231 Kevin 比较大小 C++ Accepted 1 MS 264 KB 206 2026-03-23 18:55:51

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int a[105]; int main() { int a,b,*p1=&a,*p2=&b; cin>>a>>b; if(*p1>*p2){ cout<<*p1<<" "<<*p2; } else{ cout<<*p2<<" "<<*p1; } return 0; }