Summer Holiday Problem Description To see a World in a Grain of Sand And a Heaven in a Wild Flower, Hold Infinity in the palm of your hand And Eternit ...
分类:
其他好文 时间:
2017-02-21 00:26:05
阅读次数:
230
Posters Problem Description Ted has a new house with a huge window. In this big summer, Ted decides to decorate the window with some posters to preven ...
分类:
其他好文 时间:
2017-02-16 13:27:28
阅读次数:
156
I joined Analytics Vidhya as an intern last summer. I had no clue what was in store for me. I had been following the blog for some time and liked the ...
分类:
其他好文 时间:
2017-02-07 15:05:49
阅读次数:
449
【题目分析】 找一个边长最大的三元环。 把边排序,然后依次加入。加入(i,j)时,把i和j取一个交集,看看是否存在,存在就找到了最大的三元环。 输出即可,n^3/64水过。 【代码】 ...
分类:
其他好文 时间:
2017-01-23 20:10:35
阅读次数:
163
最近在学习关于时间、时区的知识,参考了网上的一些资料,主要来源是wiki和Linux Manual,现在把阅读过程中的一些心得记录下来。 ...
分类:
其他好文 时间:
2017-01-23 17:19:50
阅读次数:
235
最近在项目上使用邮件服务,使用自带的mail服务是可以发送邮件,但是在测试后发现发送的地址不是常规的邮件。本来想偷懒使用自带的sendmail,但是老被屏蔽,所以只好使用第三方授权来发送邮件,以下是我ubuntu12上操作基本环境root@lt5:/home/lt5#cat/etc/issue
Ubuntu14.04.5L..
分类:
系统相关 时间:
2017-01-21 14:13:47
阅读次数:
287
Java基础第四天1.1分支结构2:switch语句1.根据变量的值,选择相应的case去判断,一旦满足case条件,就执行case的相应语句。如果没有break或者已经到结尾的话,会继续执行其下的case语句。2.default:是可选的,而且位置是灵活的。3.变量可以是哪些类型?charbyteshortint枚举St..
分类:
编程语言 时间:
2016-12-23 02:15:31
阅读次数:
293
题目描述 The members of XDU-ACM group went camp this summer holiday. They came across a river one day. There was a ship which only can carry at most two p ...
分类:
其他好文 时间:
2016-12-11 15:46:48
阅读次数:
219
enumerate字典上是枚举、列举的意思。 C语言中关键字enum也是enumerate的缩写。 python中enumerate方法,返回一个enumerate类型。参数一般是可以遍历的的东西,比如列表,字符串什么的。 python文档中是这么说的: enumerate(sequence, [s ...
分类:
编程语言 时间:
2016-12-03 18:15:11
阅读次数:
139
在C#中,枚举用来定状态值很方便,例如我定义一个叫做Season的枚举 枚举名是不能出现空格,()-/等字符 我们想把Spring显示为春天,我们要自己定义说明信息,我们可以使用DescriptionAttribute,如下 下面我们来写个扩展方法,来得到枚举的说明信息,如下 把枚举转换为键值对集合 ...
分类:
Windows程序 时间:
2016-11-19 20:58:41
阅读次数:
1339