如上图是可选的配色方案 cm='Spectral' #hot bone cool copper gray hsv inferno jet magma pink plasma summer viridis bwr ocean rainbow coolwarm Spectral............. ...
分类:
编程语言 时间:
2018-06-27 12:11:43
阅读次数:
1528
需要判定某日期是否为法定节假日,由于国家的节假日每年都在变动,所以使用接口判定是必要的。可惜的是,这样的接口并不多,在此汇总三个: http://tool.bitefu.net/jiari/ http://www.easybots.cn/holiday_api.net https://www.juh ...
分类:
Windows程序 时间:
2018-06-14 15:03:11
阅读次数:
1084
问题描述: easyUI 框架下,使用easyUI dialog加载HTML页面,HTML页面写在头部的js不会执行 解决办法: 将js写在body里 问题原因: 转【https://www.cnblogs.com/summer_adai/p/3548252.html】 ...
关键字为priority_queue ( 大根堆 ) 和 priority_queue <int,vector<int>,greater<int>> ( 小根堆 ). 在一些定义了权重的地方这个数据结构是很有用的。 先回顾队列的定义:队列(queue)维护了一组对象,进入队列的对象被放置在尾部,下一 ...
分类:
其他好文 时间:
2018-05-26 16:44:46
阅读次数:
219
"Holiday is coming, holiday is coming, hurray hurray!" shouts Joke in the last day of his college. On this holiday, Joke plans to go to his grandmothe ...
分类:
其他好文 时间:
2018-05-25 23:36:32
阅读次数:
337
引用于:https://zhuanlan.zhihu.com/p/33451652,感谢summer大神 1,使用有意义的且可读的变量名(一定要明确变量名的意义)eg:$currentDate 2,使用可搜索的名称eg:在类中定义常量 3,避免嵌套太深和提前返回错误:function isShopO ...
分类:
Web程序 时间:
2018-05-25 16:49:56
阅读次数:
247
第一章 强调 强调句 It is ..... that ..... I want to go to America this summer. It is America that I want to go to this summer. 补充: 强调过时态:It was .... that ... ...
分类:
其他好文 时间:
2018-05-22 10:43:48
阅读次数:
172
题目描述如下: 经过几个月辛勤的工作,FJ 决定让奶牛放假。假期可以在 1…N 天内任意选择一段(需要连 续),每一天都有一个享受指数 W。但是奶牛的要求非常苛刻,假期不能短于 P 天,否则奶 牛不能得到足够的休息;假期也不能超过 Q 天,否则奶牛会玩的腻烦。FJ 想知道奶牛们能 获得的最大享受指数 ...
分类:
其他好文 时间:
2018-05-19 11:07:23
阅读次数:
162
题目描述如下: 经过几个月辛勤的工作,FJ 决定让奶牛放假。假期可以在 1…N 天内任意选择一段(需要连续),每一天都有一个享受指数 W。但是奶牛的要求非常苛刻,假期不能短于 P 天,否则奶牛不能得到足够的休息;假期也不能超过 Q 天,否则奶牛会玩的腻烦。FJ 想知道奶牛们能获得的最大享受指数。In ...
分类:
其他好文 时间:
2018-05-19 00:45:01
阅读次数:
172
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 typedef long long ll; 9 #define enter printf("\n") 10 const... ...
分类:
其他好文 时间:
2018-05-18 21:20:43
阅读次数:
139