摘要: 模拟一遍即可。注意一些特殊情况,见代码。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 const int maxn = 10005; 9 10 struct Ploy{ 11 int cnt;//项的数目 12 int coe[ maxn ];//各项系数 13 int exp[ maxn ];//各项指数 14 }a; 15 struct Ploy2{ 16 int coe1,coe2; 17 int exp1,... 阅读全文
posted @ 2013-08-24 20:23 xxx0624 阅读(294) 评论(0) 推荐(0) 编辑