随笔分类 -  一些概率问题

摘要:1 #include <ctime> 2 #include <iostream> 3 #include <algorithm> 4 5 using namespace std; 6 7 class family{ 8 public: 9 family(int cnt = 10000) :cnt(cn 阅读全文
posted @ 2019-07-13 09:18 鸿钧三清 阅读(758) 评论(0) 推荐(0) 编辑
摘要:#include #include #include using namespace std; class birthday{ public: birthday(int n = 10000, int m = 50) : n(n), m(m){ } void test(){ srand((unsigned)time(nullptr)); ... 阅读全文
posted @ 2019-07-13 09:08 鸿钧三清 阅读(673) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示