在JavaScript里面,一般我们想让程序在function里面执行到一半时,经过判断或者完成某种操作后停止执行后面的代码,会用return结束掉function。 fuction(){ //do something... if(stopRun == true){ return } //conti ...
分类:
其他好文 时间:
2019-11-16 21:53:45
阅读次数:
107
1、When strange or different elements come together, we will have fresh perspectives and divergent ways of thinking. 2、They inevitably give birth to in ...
分类:
其他好文 时间:
2019-11-16 12:49:22
阅读次数:
87
链接: https://vjudge.net/problem/POJ 2891 题意: Elina is reading a book written by Rujia Liu, which introduces a strange way to express non negative integ ...
分类:
其他好文 时间:
2019-11-04 00:09:48
阅读次数:
138
题目链接: "HDU 2899" Problem Description Now, here is a fuction: F(x) = 6 x^7+8 x^6+7 x^3+5 x^2 y x (0 Can you find the minimum value when x is between 0 ...
分类:
其他好文 时间:
2019-10-31 23:42:30
阅读次数:
106
名句,感悟,鸡汤 1.一个人总要走陌生的路,看陌生的风景,听陌生的歌,然后在某个不经意的瞬间,你会发现,原本是费尽心机想要忘记的事情真的就那么忘记了。 1. One is always on a strange road, watching strange scenery and listening ...
分类:
其他好文 时间:
2019-10-05 22:09:55
阅读次数:
98
Life is Strange 是一款剧情游戏。steam上第一章是免费的,也正是因为这个我才开始了解到这个游戏,玩完第一章后觉得还可以,就趁打折花了17块钱买了2-5章。应该是18年6月20号买的,买完就打了第二章,然后断断续续的打,现在能记起来的也就今年暑假在UCAS Summer School ...
分类:
其他好文 时间:
2019-10-01 09:56:46
阅读次数:
92
传送门 注意到矩形往上是无限的,考虑把点按 $y$ 从大到小考虑 对于枚举到高度为 $h$ 的点,设当前高度大于等于 $h$ 的点的所有点的不同的 $x$ 坐标数量为 $cnt$ 那么对于这一层高度 $h$ 我们就有 $cnt(cnt+1)/2$ 种不同的 $l$,$r$ ,使得矩形内点集不同 发现 ...
分类:
其他好文 时间:
2019-09-29 12:38:25
阅读次数:
80
feasible:adj. 可行的 bypass: v. 绕开,避开 eclipse: n. 月食 raw: adj. 生的 foresee:v. 预见 premier:n. 总理 ,adj: 首要的 peril: n. 危险. paste. v. 粘贴, n. 面团 bruise. n.伤痕 co ...
分类:
其他好文 时间:
2019-09-05 01:01:10
阅读次数:
101
原题 题目链接 题目分析 题意很明确,这里的模数是不互质的,因此不能直接套中国剩余定理.这里稍微讲一下中国剩余定理的扩展,假设前i个方程的特解为ans(i),通解为x(i)=ans(i)+k*lcm(前i个模数).把x(i)代入到第i+1个方程,用扩展欧几里得定理求解k=k0,ans(i+1)=an ...
分类:
其他好文 时间:
2019-08-31 10:48:30
阅读次数:
75
PAT B1014/A1061 Dating 题目描述: Sherlock Holmes received a note with some strange strings: Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hysc ...
分类:
其他好文 时间:
2019-08-25 19:37:38
阅读次数:
77