链接:http://vjudge.net/problem/UVA-1619 分析:首先计算前缀和,后面会用到。设每个i都属于一个满足下述条件的最大区间(因为题意说是正整数序列,区间当然越大越好),a[i]为区间中的最小值,然后预处理出以i为轴向左和向右延伸的最远位置L[i]和R[i]来标记这个区间, ...
分类:
其他好文 时间:
2016-09-23 14:56:47
阅读次数:
128
首先 我只想好好做一个coder 我再此立下flag 卧薪尝胆 今后的每一天 坚持 300行代码 跑步 不遗余力提高自己的编程水平 感觉已经错过了上一个3年 为了目标奋斗一定要趁早 to be a coder,you don't have to be a genius you may feel a ...
分类:
其他好文 时间:
2016-09-23 12:41:56
阅读次数:
116
Sometimes you may feel sad. First,you need to know that tears can't change what happend. Second, review the root of whole thing. Third,think about tha ...
分类:
其他好文 时间:
2016-09-16 20:59:43
阅读次数:
159
比较操作符号: var a =happy;var b =sad;if (a=b){ alert("we both feel the same")}这并不是比较操作,因为它是把变量a赋值给b,赋值操作总是会成功,所以这条语句永远是true。 下面才是比较操作:var a =happy;var b =s ...
分类:
其他好文 时间:
2016-09-13 16:22:23
阅读次数:
172
If One DayIf one day you feel like crying,Call me.I don’t promise that I will make you laugh,But I can cry with you. If one day you want to run away,D ...
分类:
其他好文 时间:
2016-09-05 11:51:53
阅读次数:
271
//关于react-native ios打包生成.bundle文件,在stackover上找到的答案,亲测有用 If anyone wants to improve on these instructions and add them to the docs, feel free, I can do ...
分类:
其他好文 时间:
2016-09-02 13:22:38
阅读次数:
129
Every man dies, but not every man really lives. 每个人都会死,但不是每个人都曾经真真活过。 As I become older and older, I often feel sorry that I didn't do the right thing ...
分类:
其他好文 时间:
2016-08-25 23:20:04
阅读次数:
140
Feel Good Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 12987 Accepted: 3639 Case Time Limit: 1000MS Special Judge Description Bill is de ...
分类:
其他好文 时间:
2016-08-23 23:19:32
阅读次数:
263
Life is painting a picture, not doing a sum. 生活就像是绘画,而不是做算术。 I am too serious about digits. All what I do must be measurable, otherwise I will feel fr ...
分类:
其他好文 时间:
2016-08-18 01:07:51
阅读次数:
123
I am yourwell you done done me and you bet the felt i try to be chill but you are so hot to melted i feel right throuth the cracks and now im trying t ...
分类:
其他好文 时间:
2016-08-13 08:46:11
阅读次数:
125