菜菜

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 30 下一页

2018年3月27日

摘要: 有错请评论 阅读全文
posted @ 2018-03-27 00:49 好吧,就是菜菜 阅读(399) 评论(0) 推荐(0)

2018年3月26日

摘要: #include #include #include /** * 十进制转x进制-数论 * y = bn*x^n+b(n-1)*(x-1)^(n-1)+b0 * y/x=bn*x^(n-1)+b(n-2)*x^(n-2)+b0/x * 有理数的整数部份和小数部份相等 */ const int N = 100; int main() { int x, y; int ... 阅读全文
posted @ 2018-03-26 23:42 好吧,就是菜菜 阅读(466) 评论(0) 推荐(0)

2018年3月24日

摘要: 无耻的抄袭了结果,三组数,从每一组数中选取一个数组成正六边形的对边,总共会有27个正六边形,从27个小六边形中选取19个组成大六边形,求大六边形的最大值 阅读全文
posted @ 2018-03-24 18:35 好吧,就是菜菜 阅读(172) 评论(0) 推荐(0)

2018年2月15日

摘要: #include using namespace std; class Example5 { string* ptr; public: Example5(const string& str):ptr(new string(str)){} ~Example5(){delete ptr;} //copy constructo... 阅读全文
posted @ 2018-02-15 22:08 好吧,就是菜菜 阅读(146) 评论(0) 推荐(0)

2018年2月14日

摘要: 模版函数和模版类 下面这个模式就有点奇怪了 阅读全文
posted @ 2018-02-14 23:58 好吧,就是菜菜 阅读(245) 评论(0) 推荐(0)

摘要: #include using namespace std; class MyClass { public: int x; static int n; const int y; MyClass(int val) : x(val), y(20) { } // ... 阅读全文
posted @ 2018-02-14 23:04 好吧,就是菜菜 阅读(165) 评论(0) 推荐(0)

摘要: #include using namespace std; class Dummy { public: static int n; int x; Dummy() : x(0) { n++; } Dummy(int xx) ... 阅读全文
posted @ 2018-02-14 16:35 好吧,就是菜菜 阅读(139) 评论(0) 推荐(0)

摘要: #include using namespace std; class Dummy { public: int x; Dummy() : x(0) { } ; Dummy(int xx) : x(xx) { } ; bool isitem(Dummy const&)... 阅读全文
posted @ 2018-02-14 16:04 好吧,就是菜菜 阅读(325) 评论(0) 推荐(0)

摘要: #include using namespace std; class CVector { public: int x, y; CVector() : x(0), y(0) { } CVector(int a, int b) : x(a), y(b) { } ; CVect... 阅读全文
posted @ 2018-02-14 15:46 好吧,就是菜菜 阅读(158) 评论(0) 推荐(0)

2018年1月29日

摘要: 项目就一个java文件,仅用于样例 Dockerfile 关于sh -c 执行sh -c ls 和 sh ls pom.xml springboot的插件需要放在docker插件前面 application.yml application-beta.yml application-prod.yml 阅读全文
posted @ 2018-01-29 00:03 好吧,就是菜菜 阅读(176) 评论(0) 推荐(0)

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 30 下一页