摘要:
#include<bits/stdc++.h> using namespace std; int main() { int n,m; cin >> n >> m; //m - 2 * n每只动物抬起两条腿,剩下的腿都是兔子的两条腿,除以2就得到兔子数量 int tu = (m - 2 * n) / 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e3+10,inf = 0x3f3f3f3f; int main() { int x,y,z,n,m; //公鸡x元,母鸡y元,小鸡z只 阅读全文