分支与循环 char sex = in.next().charAt(0); java中流程控制方式有三种基本流程结构:顺序结构、选择结构、和循环结构 1、[if-else] 结构 int num = 1; if (num<2){ System.out.println("if条件成立时执行的代码"); ...
分类:
编程语言 时间:
2016-08-09 22:00:02
阅读次数:
173
./a.out . 表示循环播放当前目录下的音乐 #include<stdio.h>#include<stdlib.h>#include<unistd.h>#include<dirent.h>#include<string.h> int main(int argc,char *argv[]){ DI ...
分类:
其他好文 时间:
2016-08-09 20:34:38
阅读次数:
138
public static void main(String[] args) { Shape shape; Scanner input = new Scanner(System.in); System.out.println("请选择图形(1、圆形 2、矩形 3、三角形)"); int a = in ...
分类:
编程语言 时间:
2016-08-09 09:19:10
阅读次数:
282
前提:很多时候、我们的网页都需要一个垂直的导航栏、可以分类、有分类、自然就有展开、关闭的功能、你还在使用jquery操作dom来制作吗?那你就out了! 方案:使用checkbox 的 checked 属性、巧妙地制作导航栏 结果: 我们主要制作成这样这样的的导航栏: 首先、我们写出相对的html ...
分类:
Web程序 时间:
2016-08-09 00:11:19
阅读次数:
233
Sorting It All Out Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %llu Sorting It All Out Description An ascending sorted sequence of d ...
分类:
编程语言 时间:
2016-08-09 00:08:04
阅读次数:
203
Sorting It All Out Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 32966 Accepted: 11458 Description An ascending sorted sequence of distin ...
分类:
其他好文 时间:
2016-08-08 21:09:40
阅读次数:
187
create or replace procedure getPartTimeDatas(investor in varchar2,v_cursor out CLOB) asv_billcount number;v_wincount number;v_winrate number;v_avgwin ...
分类:
其他好文 时间:
2016-08-08 19:29:18
阅读次数:
138
Description Summer is coming! It's time for Iahub and Iahubina to work out, as they both want to look hot at the beach. The gym where they go is a mat ...
分类:
其他好文 时间:
2016-08-08 19:22:49
阅读次数:
113
<%! %>中声明的是全局变量,不过写前面最好<% %>中声明的是局部变量。<%=%>一般表达式,输出某一变量的值。例如:<%! String totalString = "GoodBye World!";%><% out.println("<h1>"+totalString+"</h1>");%> ...
分类:
Web程序 时间:
2016-08-08 17:25:55
阅读次数:
203
分别从四个角向对角打dp表,然后遍历各个点认为该点为相遇的房间,依据该点求四个dp式的和,并找出最大值 ...
分类:
其他好文 时间:
2016-08-08 12:33:47
阅读次数:
161