摘要: 本文实现了一个多项式的类,类中重载了多项式的加法、减法、乘法,并且对>> 和 3 #include 4 #include 5 6 class polynomial 7 { 8 private: 9 std::vector coefficient; 10 std:... 阅读全文
posted @ 2015-08-03 20:53 JackWang822 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 1009. Product of Polynomials (25)This time, you are supposed to find A*B where A and B are two polynomials.Input Specification:Each input file contain... 阅读全文
posted @ 2015-08-03 20:51 JackWang822 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1006. Sign In and Sign Out (25)At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one w... 阅读全文
posted @ 2015-08-03 19:01 JackWang822 阅读(195) 评论(0) 推荐(0) 编辑