Description Natasha is planning an expedition to Mars for nn people. One of the important tasks is to provide food for each participant. The warehouse ...
分类:
其他好文 时间:
2018-08-06 10:26:27
阅读次数:
187
https://pintia.cn/problem-sets/994805342720868352/problems/994805444361437184 Being unique is so important to people on Mars that even their lottery i ...
分类:
其他好文 时间:
2018-08-05 17:25:08
阅读次数:
117
Description Natasha is planning an expedition to Mars for nn people. One of the important tasks is to provide food for each participant. The warehouse ...
分类:
其他好文 时间:
2018-08-05 16:58:45
阅读次数:
144
1.python pickle反序列化漏洞 自己的理解: 由于在类的__reduce__方法中提供了我们可以自定义程序如何去解序列化的方法,因此如果应用程序接受了不可信任的序列化的数据,那么就可能导致安全问题。 以上这段代码中,要调用os模块的system函数来执行dir命令,其中reduce函数中 ...
分类:
编程语言 时间:
2018-08-02 16:05:17
阅读次数:
268
Flying to the Mars 题意: 给出n个人的教育水平,水平高的人可以教水平低的人,每个人最多只能有一个老师,同时也最多只能有一个学生(没有老师或者没有学生也是合法的),把位于一条链上的所有人定义为一组(比如A是B的老师,B是C的老师,那么A,B,C为一组),问最少需要多少组? 分析: ...
分类:
其他好文 时间:
2018-07-29 10:44:40
阅读次数:
148
packagemainimport("encoding/json"//自带的json工具"fmt")//github.com/pquerna/ffjson/ffjson//这个json工具,比自带的json效率要高很多//而且接口,完全一样,typeworkerstruct{Namestring`json:"worker_name"`//转换成json格式时,key就是worker_nameSex
分类:
编程语言 时间:
2018-07-19 22:00:34
阅读次数:
215
1.下载eclipse 点击eclipse mars.1 下载eclipse mars.1版本 2.下载Mybatis Generator 插件 1)在线安装 在eclipse中 marketplace搜索Mybatis Generator 插件install安装 2)离线安装 在这个页面下载插件z ...
分类:
其他好文 时间:
2018-06-24 14:03:51
阅读次数:
251
1、棉花糖测试 有一个著名的心理实验,叫做棉花糖测试。一群小孩,每人拿到一块棉花糖。心理学家告诉他们,你可以现在就把糖吃掉,但是如果忍耐15分钟,就可以得到第二块糖的奖励。 大多数小孩子都没能忍住,有的立刻吃掉了,有的还没等实验员离开半分钟就吃掉了,有的四下张望之后偷偷吃了一点点......只有30 ...
分类:
其他好文 时间:
2018-06-23 15:38:31
阅读次数:
194
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou ...
分类:
其他好文 时间:
2018-06-23 14:36:21
阅读次数:
165
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou ...
分类:
其他好文 时间:
2018-06-22 20:59:56
阅读次数:
180