![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
hjuj_91
这个作者很懒,什么都没留下…
展开
-
cpp study
#include #include #include #include #include #include #include using namespace std; class Point { private: int x,y; public: Point(int x,int y):x(x),y(y){} double slopeTo(const Point& th原创 2014-01-06 18:57:00 · 3431 阅读 · 0 评论 -
c++ 函数对象动态规划解斐波那契数列
#include #include using namespace std; typedef long long int intLong; class Fib{ public: vector v; Fib() {v.push_back(0);v.push_back(1);} intLong operator() (intLong n) { if (v.size() >原创 2014-01-07 13:11:09 · 1048 阅读 · 0 评论