We hear a lot about loops, especiallyforloops. So what, in fact, are they? They’re just pieces of code that repeat the same commands several times, un...
分类:
编程语言 时间:
2014-11-30 18:31:01
阅读次数:
143
http://www.lydsy.com/JudgeOnline/problem.php?id=2005首先和某题一样应该一样可以看出每个点所在的线上有gcd(x,y)-1个点挡着了自己。。。那么就是求:$$\sum_{x=1}^{n} \sum_{y=1}^{m} 2 \times ((x,y)-...
分类:
其他好文 时间:
2014-11-30 14:04:39
阅读次数:
219
描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For ...
分类:
其他好文 时间:
2014-11-29 00:03:11
阅读次数:
442
Hello Greensock! TweenMax.staggerTo() The start times of each animation are staggered by 0.5 seconds ...
分类:
Web程序 时间:
2014-11-28 01:02:49
阅读次数:
795
My father was a self-taught mandolin player. He was one of the best string instrument players in our town. He could not read music, but if he heard a tune a few times, he could play it. When he was yo...
分类:
其他好文 时间:
2014-11-27 14:36:15
阅读次数:
230
MAP is the optimization of prior times likelihood in bayesion method.MAP is not invariant to paramerterization. It is a point estimation and tend to s...
分类:
其他好文 时间:
2014-11-27 00:14:30
阅读次数:
189
Description
Now we have a number, you can swap any two adjacent digits of it, but you can not swap more than K times. Then, what is the largest probable
number that we can get after you...
分类:
其他好文 时间:
2014-11-25 09:20:31
阅读次数:
247
面试题目一、请定义这样一个函数function repeat (func, times, wait) {}这个函数能返回一个新函数,比如这样用var repeatedFun = repeat(alert, 10, 5000)调用这个 repeatedFun ("hellworld")会alert十次...
分类:
移动开发 时间:
2014-11-24 19:00:30
阅读次数:
177
十分不错的日期选择器,界面也十分和谐,支持单选、多选、范围选择、弹框显示、自定义样式等操作,集成起来也十分简单。...
分类:
移动开发 时间:
2014-11-24 10:05:45
阅读次数:
145
十分不错的日期选择器,界面也十分和谐,支持单选、多选、范围选择、弹框显示、自定义样式等操作,集成起来也十分简单。
分类:
移动开发 时间:
2014-11-24 09:58:02
阅读次数:
133