摘要: 将数组看成多项式的系数$ A(x)=a_0+a_1x+...+a_{n-1}x^{n-1} $。 点值 $y_0, y_1,...,y_{n-1} $, 其中 $y_i=A(x_i) $。 令 $w=e^{\frac{2i\pi}{n}}, x_i=w^i $ 将A(x) 按 x的次幂 奇偶分组 A 阅读全文
posted @ 2020-04-19 10:39 2714 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 动态规划-状态压缩 POJ3254 POJ2686 LOJ2318 NOIP2016 宝藏 LOJ2363 NOIP2017 愤怒的小鸟 LOJ2104 TJOI2015 LOJ6372 LOJ2540 LOJ2542 动态规划-数位DP HDU3555 HDU3652 BZOJ1026 LOJ20 阅读全文
posted @ 2018-07-04 19:11 2714 阅读(141) 评论(0) 推荐(0) 编辑
摘要: import json d = {'greet': u'你好'} print d print json.dumps(d, ensure_ascii=False) 阅读全文
posted @ 2017-02-16 12:23 2714 阅读(759) 评论(0) 推荐(0) 编辑
摘要: >>>import json >>>d = { 'a': 0.333333333, 'b': 0.445444444, 'c': 0.293 } >>>json.dumps(d) 得到 '{"a": 0.333333333, "c": 0.293, "b": 0.445444444}' 而我们期望得 阅读全文
posted @ 2017-02-16 11:55 2714 阅读(3111) 评论(0) 推荐(0) 编辑
摘要: 1.sudo apt-get update 2.sudo apt-get install docker.io 3.更换docker镜像仓库源 vi /etc/docker/daemon.json {"registry-mirrors": ["https://pbteziiz.mirror.aliyu 阅读全文
posted @ 2017-02-16 00:00 2714 阅读(120) 评论(0) 推荐(0) 编辑
摘要: cmd+, 配置 Appearance&Behavior>System Settings>Reopen last project on startup,untick. 用scala 选择sbt新建项目,右键选择Add Framework Support, 勾选scala,才会出现new scala 阅读全文
posted @ 2016-09-03 12:24 2714 阅读(214) 评论(0) 推荐(0) 编辑
摘要: nwjs 中 shift+control+option+i 开发者模式。 iterm中 ctrl+f/b移动光标。 设置,profile,keys最下面,left option改成esc之后,左option+f/b也可以移动光标。 vim中 shift+移动,切换tab;ctrl+移动,切换屏幕;原 阅读全文
posted @ 2016-09-03 11:29 2714 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 现在是8月30日。刚刚喝过小侄女的弥月酒。回到家。 后天就要工作了。工作需要技能,scala,nodejs。 目前在twitter.github.com/scala_school学习scala,看BYVoid写的nodejs开发指南看了一大半。发现一个好的学习网站,http://wiki.jikex 阅读全文
posted @ 2016-08-30 16:11 2714 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 问题1: windows10 msi安装scala,设置环境变量后,cmd使用scala提示 “此时不应有 \scala\bin\scala.bat”。 解决1: 安装默认路径是C:\PRO Files,安装路径不能有空格。重新安装。 开发环境搭建 http://spreadscala.iteye. 阅读全文
posted @ 2016-08-23 12:33 2714 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 找工作很重要。 1.准备好简历。 2.复习C和python。 3.去牛客网刷题。 4.希望可以进NLP,再看一遍《数学之美》。 晚上: 每天花半个小时看《数学及其历史》。习题的话感觉要花的时间很多,看能不能略过。 花半小时看《复分析可视化》。 有空就继续看iOS开发。 阅读全文
posted @ 2016-07-31 09:01 2714 阅读(114) 评论(0) 推荐(0) 编辑