摘要:
250.解三元一次方程组。View Code 1 class PlatypusDuckAndBeaver 2 { 3 public: 4 int minimumAnimals(int a, int b, int c) 5 { 6 int k = (2*b+4*c-a)/2; 7 int x = b - k; 8 int y = c - k; 9 return x + y + k;10 }11 };500.二分答案。View Code 1 typedef long long LL; 2 class... 阅读全文