1 //用c++的sort可以过 2 #include 3 int main() 4 { 5 int n; 6 while(~scanf("%d",&n)) 7 { 8 int ans,ant,num=0; 9 while(n--) 10 { 11 scanf("%d",&ant);... ...
分类:
其他好文 时间:
2017-02-16 23:48:40
阅读次数:
168
1 //只需要一个数组存可用系统最高拦截高度 2 #include 3 int s[6000]; 4 int main() 5 { 6 int n; 7 while(~scanf("%d",&n)) 8 { 9 int ans=1,top=-1,x,i,j; 10 for(i=0; i= x) 20... ...
分类:
其他好文 时间:
2017-02-16 23:23:28
阅读次数:
195
List a.普通for循环, 使用get()逐个获取 b.调用iterator()方法得到Iterator, 使用hasNext()和next()方法 c.增强for循环, 只要可以使用Iterator的类都可以用 d.Vector集合可以使用Enumeration的hasMoreElements ...
分类:
其他好文 时间:
2017-02-16 22:52:27
阅读次数:
216
一、路由初步 url.parse(string).query | url.parse(string).pathname | | | | | http://localhost:8888/start?foo=bar&hello=world | | | | querystring.parse(string ...
分类:
Web程序 时间:
2017-02-16 22:49:31
阅读次数:
295
DEMO: <!DOCTYPE html><html> <head> <title>滚动播报</title> <meta charset="UTF-8"> <style> .content { height: 60px; background-color: #2c2c34; overflow: hi ...
分类:
Web程序 时间:
2017-02-16 22:01:48
阅读次数:
709
在前端开发工作中,由于浏览器兼容性等问题,我们会经常用到“停止事件冒泡”和“阻止浏览器默认行为”。 1..停止事件冒泡 JavaScript代码 //如果提供了事件对象,则这是一个非IE浏览器if ( e && e.stopPropagation )//因此它支持W3C的stopPropagatio ...
分类:
其他好文 时间:
2017-02-16 18:25:08
阅读次数:
181
In the year 2008, the 29th Olympic Games will be held in Beijing. This will signify the prosperity of China as well as becoming a festival for people ...
分类:
其他好文 时间:
2017-02-16 17:35:13
阅读次数:
221
一什么是MFQ&PPDCS?MFQ&PPDCS是由外部教练邰晓梅提出的一套测试分析和测试设计方法。MFQ将被测对象分层,针对不同层次进行测试分析和设计进行,使测试设计人员不会那么容易忘记一些测试的相关点(功能交互、质量属性)。 PPDCS 五个字母每个代表的是一种建模方法,主要用来细化测试场景。注: ...
分类:
其他好文 时间:
2017-02-16 16:50:07
阅读次数:
5441
Problem 2167 大王叫我来巡山呐 Accept: 931 Submit: 1405Time Limit: 1000 mSec Memory Limit : 32768 KB Accept: 931 Submit: 1405Time Limit: 1000 mSec Memory Limit ...
分类:
其他好文 时间:
2017-02-16 16:47:17
阅读次数:
173
8 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 6 ...
分类:
Web程序 时间:
2017-02-16 16:04:34
阅读次数:
314