2 条题解

  • 0
    @ 2026-4-25 16:08:40

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

    • 0
      @ 2026-2-4 20:22:09

      #include<bits/stdc++.h> using namespace std; int main() { int ji,tu,tou,jiao,x,y; cin>>tou>>jiao; x=tou*2;//假设全是鸡 y=jiao-x;//少了几条腿 tu=y/2; ji=tou-tu; cout<<ji<<' '<<tu; return 0; }

      • 1

      信息

      ID
      594
      时间
      1000ms
      内存
      256MiB
      难度
      4
      标签
      递交数
      122
      已通过
      53
      上传者