2019年10月25日

poj 2774 字符串哈希求最长公共子串

摘要: Long Long Message include include include include include include include include include include define LL long long define ULL unsigned long long us 阅读全文

posted @ 2019-10-25 16:06 鱼泪儿 阅读(302) 评论(0) 推荐(0) 编辑

2019年10月17日

自己封装的优先队列,堆实现

摘要: ``` #include #include #include #include #define MAX_H nodes1 #define MIN_H nodes2 #define LL int using namespace std; struct nodes1 { LL k; bool operator b.k; } }; template class Que { public: Que() { 阅读全文

posted @ 2019-10-17 17:01 鱼泪儿 阅读(92) 评论(0) 推荐(0) 编辑

2017年4月11日

hdu 4563

摘要: hdu 4563 + 把每个命令走的距离抽象成完全背包 + 枚举最后一个不是整点走完的命令 include include include include include include include using namespace std; typedef long long LL; const 阅读全文

posted @ 2017-04-11 09:09 鱼泪儿 阅读(164) 评论(0) 推荐(0) 编辑

2017年4月6日

CPU中的主要的寄存器

摘要: 寄存器 名为寄存器的存储电路。 8种16位寄存器 + AX accumulator 累加寄存器 + CX counter 计数寄存器 + DX data 数据寄存器 + BX base 基址寄存器 + SP stack pointer 栈指针寄存器 + BP base pointer 基址指针寄存器 阅读全文

posted @ 2017-04-06 21:07 鱼泪儿 阅读(1304) 评论(0) 推荐(0) 编辑

2017年4月4日

ROC曲线及AUC

摘要: ROC曲线 意义 ROC曲线指受试者工作特征曲线 / 接收器操作特性曲线(receiver operating characteristic curve),是反映敏感性和特异性连续变量的综合指标,是用构图法揭示敏感性和特异性的相互关系,它通过将连续变量设定出多个不同的临界值,从而计算出一系列敏感性和 阅读全文

posted @ 2017-04-04 16:25 鱼泪儿 阅读(1367) 评论(0) 推荐(0) 编辑

2016年8月13日

light oj 1231 dp 多重背包

摘要: ```cpp include include include include include include include include define ll long long using namespace std; const int MOD = 1e8+7; int dp[55][1010 阅读全文

posted @ 2016-08-13 18:21 鱼泪儿 阅读(100) 评论(0) 推荐(0) 编辑

light oj 1422 区间dp

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define ll long long 10 11 using namespace std; 12 13 int color[105],n; 14 int dp[105][105... 阅读全文

posted @ 2016-08-13 17:05 鱼泪儿 阅读(167) 评论(0) 推荐(0) 编辑

light oj 1098 数学规律

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define ll long long 10 11 using namespace std; 12 13 14 const ll MAX = (ll)sqrt(2e9)+1; ... 阅读全文

posted @ 2016-08-13 13:48 鱼泪儿 阅读(249) 评论(0) 推荐(0) 编辑

2016年8月11日

light oj 1095 组合数学

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define ll long long 10 11 using namespace std; 12 13 14 const int MAX = 200005; 15 const... 阅读全文

posted @ 2016-08-11 18:38 鱼泪儿 阅读(199) 评论(0) 推荐(0) 编辑

light oj 1105 规律

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define ll long long 7 8 using namespace std; 9 const int N = 1e5+1000; 10 int fib[50]; 11 void init() 12 { 13 14 fib[0]= ... 阅读全文

posted @ 2016-08-11 10:05 鱼泪儿 阅读(149) 评论(0) 推荐(0) 编辑

导航