12 条题解

  • 2
    @ 2024-7-17 14:56:04

    • 1
      @ 2024-7-17 13:50:40
      
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          int x,y,a,b,c,d;
          cin>>x>>y;
          a=4*x;
          b=a-y;
          c=b/2;
          d=x-c;
          cout<<c<<" "<<d;
          return 0;
      }
      
      
      • 0
        @ 2024-7-18 11:46:53

        • 0
          @ 2024-7-17 11:37:59
          
          ```include<bits/stdc++.h> 
           using namespace std;
           int main(){
               int x,y; 
               cin>>x>>y;
               int ji,tu;
               ji=(4*x-y)/2; 
               tu=x-ji; 
               cout<<ji<<" "<<tu; 
               return 0;
          • -1
            @ 2024-7-17 11:49:05
            #include<bits/stdc++.h> 
             using namespace std;
             int main(){
                 int x,y; 
                 cin>>x>>y;
                 int ji,tu;
                 ji=(4*x-y)/2; 
                 tu=x-ji; 
                 cout<<ji<<" "<<tu; 
                 return 0;
            }
            
            • -1
              @ 2024-7-17 11:48:53

              #include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; int ji,tu; ji=(4*x-y)/2; tu=x-ji; cout<<ji<<" "<<tu; return 0; }

              • -1
                @ 2024-7-17 10:03:22

                #include<bits/stdc++.h> using namespace std; int main(){ int x,y,q,z,j,t; cin>>x>>y; q=2*x; z=y-q; t=y/z; j=x-t; cout<<j<<" "<<t; return 0; }

                • -1
                  @ 2024-7-17 10:02:43

                  #include using namespace std; int main(){ int n,m,x,y,a,b; cin>>n>>m; a=n*2; b=m-a; y=b/2; x=n-y; cout<<x<<" "<<y; return 0; }

                  • -1
                    @ 2024-7-16 14:29:54

                    #include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; int ji,tu; ji=(4*x-y)/2; tu=x-ji; cout<<ji<<" "<<tu; }

                    • -2
                      @ 2024-7-17 14:32:01
                      
                      ```#include<bits/stdc++.h>
                      using namespace std;
                      int main(){
                      	long long a,c,x,y;
                      	cin>>x>>y;
                      	a=y/2-x;
                          c=(4*x-y)/2;
                      	cout<<c<<" "<<a;
                      	return 0;
                      }
                      • -2
                        @ 2024-7-16 14:58:07

                        Man include<bits/stdc++.h> 不能抄 using namespace std; 不能抄 int main(){ 不能抄 int x,y; 不能抄 cin>>x>>y; 不能抄 int ji,tu; 不能抄 ji=(4*x-y)/2; 不能抄 tu=x-ji; 不能抄 cout<<ji<<" "<<tu; 不能抄

                        return 0; 不能抄 } 不能抄 }

                        • -3
                          @ 2024-7-17 11:39:28
                          #include<bits/stdc++.h> 
                          using namespace std; 
                          int main(){ 
                              int n,m,x,y,a,b; 
                              cin>>n>>m; 
                              a=n*2; 
                              b=m-a; 
                              y=b/2; 
                              x=n-y; 
                              cout<<x<<" "<<y; 
                              return 0; 
                          }
                          

                          quq 给个赞吧 球球了

                          • 1

                          信息

                          ID
                          736
                          时间
                          1000ms
                          内存
                          256MiB
                          难度
                          3
                          标签
                          递交数
                          234
                          已通过
                          126
                          上传者