//除去节假日 周末 计算工作日var holiday= ['2018-05-10'];var holidayMap={};function getMap(hd){ for(var i=0;i<hd.length;i++){ holidayMap[hd[i]]='1'; }}function for ...
分类:
其他好文 时间:
2018-05-15 19:42:15
阅读次数:
158
enumerate()enumerate() 函数用于将一个可遍历的数据对象(如列表、元组或字符串)组合为一个索引序列,同时列出数据和数据下标,一般用在 for 循环当中。 以下是 enumerate() 方法的语法: >>>seasons = ['Spring', 'Summer', 'Fall' ...
分类:
编程语言 时间:
2018-05-15 00:20:26
阅读次数:
229
团队展示: 队名:summer 团队项目描述:基于java 、web的四则运算网站的开发,有三种角色:老师、家长、学生。老师在网站上发布四则运算作业,可以设置题目数量,数值范围、以及完成作业限定的时间。学生登录网站后可以查看作业并进入做题,完成后提交,系统进行批改。并把答题记录保存,学生通过查看错题 ...
分类:
其他好文 时间:
2018-05-09 21:03:02
阅读次数:
141
题目链接:https://nanti.jisuanke.com/t/16957 题目: In this winter holiday, Bob has a plan for skiing at the mountain resort. This ski resort has MMM differen ...
分类:
编程语言 时间:
2018-05-07 22:56:45
阅读次数:
260
Codewars 刷题第五天,数组问题。 Enough is enough! Alice and Bob were on a holiday. Both of them took many pictures of the places they've been, and now they want ...
分类:
编程语言 时间:
2018-04-29 11:54:49
阅读次数:
196
在Python中,copy的是内存地址,引用的是列表的引用地址,列表里存的是各个元素的地址 例如: name = [1,2,3,4,['xfxing','summer',6]] n2 = name.copy() name[1] = -2 name[4][0] = "shell" name[4][2] ...
分类:
编程语言 时间:
2018-04-01 16:56:42
阅读次数:
201
1. resume improving 1.1 project from Udacity 1.2 project from class 1.3 find career center's help 1.4 after summer research results and find professor ...
分类:
其他好文 时间:
2018-03-31 12:07:01
阅读次数:
152
Petrozavodsk Summer Training Camp 2017 Day 9 Problem A. Building 题目描述 :给出一棵树,在树上取出一条简单路径,使得该路径的最长上升子序列最长,问最长的长度。 solution 最常见的想法就是树状 dp ,但空间不太够,所以选择直接 ...
分类:
其他好文 时间:
2018-03-31 00:51:31
阅读次数:
191
Petrozavodsk Summer Training Camp 2017 Problem A. Connectivity 题目描述 :有$n$个点,现不断地加边。每条边有一种颜色,如果一个点对$(a, b)$,满足$a=b$或对于每一种颜色的子图(图中只有该种颜色的边),$a, b$总是连通,则 ...
分类:
其他好文 时间:
2018-03-24 11:34:25
阅读次数:
220
1.字符串练习: http://news.gzcc.cn/html/2017/xiaoyuanxinwen_1027/8443.html 取得校园新闻的编号 https://docs.python.org/3/library/turtle.html 产生python文档的网址 http://news ...
分类:
其他好文 时间:
2018-03-21 17:27:56
阅读次数:
158