1计算1+2+3...+99+100的和.a---intsum=0,i=0;while(i<101){sum=sum+i;i++;}printf("%d",sum);b--intsum=0,i=1;//存储值do{sum=sum+i;//现执行一次循环体,在判断条件i++;}while(i<101);printf("%d",sum);2//100以内13倍数之和intsum=0,i=1;while(i<101){if(i%13==0){//..
分类:
其他好文 时间:
2014-08-03 08:01:25
阅读次数:
244
题目:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra s....
分类:
编程语言 时间:
2014-08-03 07:49:44
阅读次数:
193
Go 本地化该指南也有其他语言版本:Brazilian Portuguese — Português do BrasilCatalan — CatalàSpanish — EspañolFrench - FrançaisHebrew — ????????Japanese — 日本語Korean — ...
分类:
其他好文 时间:
2014-08-02 20:38:23
阅读次数:
336
一 Words 1 perpetuate 保持,使永存 eg. Schood tends to perpetuate the myth that boys are better at sport than girls.学校往往会助长男孩比女孩体育强这一错误观念的延续 2 in general 通常 ...
分类:
其他好文 时间:
2014-08-02 12:43:03
阅读次数:
228
循环语句C语言 while do-while for goto(无条件循环)1.for循环for(表达式1;表达式2;表达式3){语句}; //条件可以省略,;;这两个分号不可以省略//没有条件代表无限循环 表达式1:代表循环条件的初始化。 表达式2:代表控制循环的条件。 表达式3...
分类:
其他好文 时间:
2014-08-02 12:25:03
阅读次数:
207
DRM
In this document
Overview
Android DRM FrameworkWidevine DRM Plugin
Integrating Widevine into Your Product
Widevine DRM security levelsSecurity level details
This do...
分类:
其他好文 时间:
2014-08-02 10:07:13
阅读次数:
354
题目:You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?题解:这道题就是考察很....
分类:
编程语言 时间:
2014-08-02 10:02:03
阅读次数:
261
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2112The Company Dynamic Rankings has developed a new kind of computer that is no lon...
分类:
其他好文 时间:
2014-08-02 01:37:22
阅读次数:
582
一、问题的提出注意到表单中action:getPostServlet/getPost.do?param4=param4这个action带有一个参数param4,如果用get方法提交,后台无法接收到这个参数;如果用post方法提交,后台就可以接收到这个参数。问题原因的简单解释:用get方法提交的url...
分类:
其他好文 时间:
2014-08-01 22:41:52
阅读次数:
216
批量ping测试的批处理脚本remping测试,需要一个ip.txt的附件提供ip列表
@echooff
for/f%%iin(ip.txt)do(
ping-n2-w300%%i>nul
ifERRORLEVEL1(echo%%iunreachable)elseecho%%ireachable
)
pause两个ping包,通一个就算reachable,两个都不通输出unreachable