4 条题解

  • 1
    @ 2023-8-7 17:46:38
    #include <iostream> 
    using namespace std; 
    int main(){ int n,m,x,y,z; cin>>n>>m; z=n/2; y=z-m; x=m-y; cout<<x<<" "<<y; } 
    
    • -2

      #include <iostream> using namespace std; int main(){ int n,m,x,y,z; cin>>n>>m; z=n/2; y=z-m; x=m-y; cout<<x<<" "<<y; } //数学版最简单的鸡兔同笼

      • @ 2023-8-7 17:46:53
        #include <iostream> 
        using namespace std; 
        int main(){ int n,m,x,y,z; cin>>n>>m; z=n/2; y=z-m; x=m-y; cout<<x<<" "<<y; } 
        
    • -3
      @ 2021-10-14 13:17:59

      math=input().split() N=int(math[0]) M=int(math[1]) a=(N-(2M))//(4-2) print(M-((N-(2M))//(4-2)),a)

      • -3
        @ 2021-10-14 13:16:59

        math=input().split() N=int(math[0]) M=int(math[1]) a=(N-(2M))//(4-2) print(M-((N-(2M))//(4-2)),a)

        • 1

        信息

        ID
        813
        时间
        1000ms
        内存
        128MiB
        难度
        3
        标签
        递交数
        115
        已通过
        66
        上传者