Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96010 | 汤弘毅 | 07交换数据II | C++ | Wrong Answer | 1 MS | 268 KB | 643 | 2024-11-02 17:15:25 |
#include <iostream> using namespace std; int main(){ // int a,b; // cin>>a>>b; // if(a>b){ // cout<<a; // } // else{ // cout<<b; // } // int a; // cin>>a; // if(a>0){ // cout<<"YES"; // } // else{ // cout<<"NO"; // } // int a,b,c; // cin>>a>>b>>c; // if(a+b>c){ // cout<<"Yes"; // } // else{ // cout<<"No"; // } // float n,t,s; // cin>>n>>t>>s; // int x; // // x = n-s/t; // float y; // y = n-s/t; // // if(x>y){ // x = x+1; // } // if(x<0){ // x=0; // } // // cout<<x; int a,b; cin>>a>>b; if(a>b){ cout<<a<<" "<<b; } else{ cout<<b<<" "<<a; } }
------Input------
71 1
------Answer-----
1 71
------Your output-----
71 1