Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123040 mjw1 比较大小 C++ Accepted 1 MS 272 KB 209 2025-06-22 15:53:28

Tests(1/1):


Code:

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