函数定义 使用 func 定义一个函数。调用函数使用他的名字加 上小括号里的參数列表。使用 -> 分隔參数的名字和 返回值类型。 函数声明: func greet(name: String, day: String) -> String { return "Hello \(name),today i ...
分类:
编程语言 时间:
2017-07-25 21:22:13
阅读次数:
219
It's hard times now. Today Petya needs to score 100 points on Informatics exam. The tasks seem easy to Petya, but he thinks he lacks time to finish th ...
分类:
其他好文 时间:
2017-07-25 19:52:18
阅读次数:
213
HDU Today Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 19948 Accepted Submission(s): 4705 Pr ...
分类:
其他好文 时间:
2017-07-25 12:35:30
阅读次数:
147
python 中 time 有三种格式: float, struct tuple(time.struct_time 或 datetime.datetime), str 常用的: float --> struct tuple: time.localtime( float ) struct time t ...
分类:
编程语言 时间:
2017-07-25 11:18:46
阅读次数:
243
需求: 默认本地时间,相隔一个月 四个选项:1一个月,一个季度,半年,一年。 如果结束日期不变,那么默认递增即可,如果结束日期改变了,以变更的日期递增月份。 html结构: 时间插件: vue-逻辑代码 初始化时间容器 ps:在搬运代码这条路上,我会一直走下去。 ...
分类:
其他好文 时间:
2017-07-24 23:39:58
阅读次数:
255
Ilya is an experienced player in tic-tac-toe on the 4?×?4 field. He always starts and plays with Xs. He played a lot of games today with his friend Ar ...
分类:
其他好文 时间:
2017-07-24 09:52:11
阅读次数:
225
Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at least. You have to ...
分类:
其他好文 时间:
2017-07-23 16:36:42
阅读次数:
139
There are n people taking part in auction today. The rules of auction are classical. There were n bids made, though it's not guaranteed they were from ...
分类:
其他好文 时间:
2017-07-23 00:48:49
阅读次数:
180
What a sunny day! Let’s go picnic and have barbecue! Today, all kids in “Sun Flower” kindergarten are prepared to have an excursion. Before kicking of ...
分类:
其他好文 时间:
2017-07-22 13:17:11
阅读次数:
266
由于前端的知识欠缺,所以真的很有必要去学习bootstrap 和 Jquary了 在这里分享一个时间选择器,附上源码 和配置信息,方便在制作表单或者菜单的时候调用。 如果自己不是前端大神的话,我觉得调用别人的东西,还是靠谱一点。 。。。。。。。。。。。。。。。。。。。。。。。 。。。。。。。。。。。 ...
分类:
其他好文 时间:
2017-07-22 11:07:13
阅读次数:
154