摘要: 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... 阅读全文
posted @ 2012-08-23 20:47 發_ 阅读(128) 评论(0) 推荐(0) 编辑