8 条题解

  • 1
    @ 2024-2-20 10:09:16
    #include<iostream>
    using namespace std;
    int main(){
        int a=20,b=22,t;
        t=a;
        a=b;
        b=t;
        cout<<"a="<<a<<endl;
        cout<<"b="<<b;
        return 0;
    }
    
    • 0
      @ 2024-2-20 10:10:17

      #include using namespace std; int main(){ int a=20,b=22,c; c=a; a=b; b=c; cout<<"a="<<a<<endl; cout<<"b="<<b; return 0; }

      • 0
        @ 2024-2-20 9:49:38
        #include<iostream>
        using namespace std;
        int main(){
            cout<<"a=22"<<endl<<"b=20";
            return 0;
        }
        
        • -1
          @ 2024-3-3 10:26:40

          #include using namespace std; int main(){ int a=20,b=22,t; t=a; a=b; b=t; cout<<"a="<<a<<endl; cout<<"b="<<b; return 0; }

          • -1
            @ 2024-3-1 16:45:55
            
            
            • -1
              @ 2024-2-23 8:35:54

              #include using namespace std; int main(){ int a=22,b=20,t; cin>>a>>b>>t; a=t; b=a; t=b; cout<<a<<b; return 0 }

              • -1
                @ 2024-2-20 10:25:52

                #include using namespace std; int main(){ int a=20,b=22,t; t=a; a=b; b=t; cout<<"a="<<a<<endl; cout<<"b="<<b;

                return 0;
                

                }

                • -1
                  @ 2024-2-20 10:25:29

                  #include using namespace std; int main(){ int a=20,b=22,t; t=a; a=b; b=t; cout<<"a="<<a<<endl; cout<<"b="<<b;

                  return 0;
                  

                  }

                  • 1

                  信息

                  ID
                  694
                  时间
                  1000ms
                  内存
                  64MiB
                  难度
                  5
                  标签
                  递交数
                  840
                  已通过
                  352
                  上传者