如下:
declare
x number;
begin
x:=0;
> --定义goto标签
x:=x+1; --这里加几就是控制step的方法
dbms_output.put_line(x);
if x<5 then
goto gsign; --将语句定义到上面goto的地方
end if;
end;...
分类:
数据库 时间:
2014-12-05 19:22:49
阅读次数:
117
如下:
declare
x number;
begin
x:=0;
loop --循环开始
x:=x+1;
if x>3 then --循环体
exit;
end if;
dbms_output.put_line('内x的值'||x); --循环体
end loop; --结束循环
dbms_output.put_line('外X的值'||x...
分类:
数据库 时间:
2014-12-05 19:21:48
阅读次数:
164
Problem B
List of Conquests
Input: standard input
Output: standard output
Time Limit: 2 seconds
In Act I, Leporello is telling Donna Elvira about his master's long list of conquests:
``This is t...
分类:
编程语言 时间:
2014-12-05 09:19:38
阅读次数:
291
B. The Child and Zoo
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Of course our child likes walking in a...
分类:
编程语言 时间:
2014-12-04 21:42:58
阅读次数:
283
无刷新分页要用到自己定义的存储过程:alter proc usp_DivMemberByPage@pageIndex int,@pageSize int,@total int output //注意:这里不要忘记outputasbegin select * from ( s...
分类:
其他好文 时间:
2014-12-04 21:12:21
阅读次数:
223
选中target1,然后点击右键,选择 option for target 'target1' ,在弹出的对话框中选择output选项卡,看Browse information 选项有没有勾选,如果没有,请勾选,然后把你的工程rebuild 一次。...
分类:
其他好文 时间:
2014-12-04 18:02:02
阅读次数:
1338
传送门:POJ_3067
题目:n,m,k;左右两列数,数的范围分别1-n,1-m,然给k个连线。
Sample Input
1
3 4 4
1 4
2 3
3 2
3 1
Sample Output
Test case 1: 5
思路:逆序数
代码:
//树状数组版
//块状数组
#include
#include
#include
#include
...
分类:
编程语言 时间:
2014-12-04 17:57:44
阅读次数:
272
传送门:HDU_5135
题意:给你n个木棒,拼出任意个三角形,要求面积和最大,输出max(s);
Sample Input
3
1 1 20
7
3 4 5 3 4 5 90
0
Sample Output
0.00
13.64
思路:暴力搜索
代码:
#include
#include
#include
#include
#includ...
分类:
其他好文 时间:
2014-12-04 15:43:10
阅读次数:
155
原题链接:http://codevs.cn/problem/1227/
题目描述 Description
给出一个n*n的矩阵,每一格有一个非负整数Aij,(Aij
输入描述 Input Description
第一行两个数n,k(1
接下来n行,每行n个数,分别表示矩阵的每个格子的数
输出描述 Output Description...
分类:
其他好文 时间:
2014-12-04 15:41:06
阅读次数:
355
说到输出缓冲,首先要说的是一个叫做缓冲器(buffer)的东西。举个简单的例子说明他的作用:我们在编辑一篇文档时,在我们没有保存之前,系统是不会向磁盘写入的,而是写到buffer中,当buffer写满或者执行了保存操作,才会将数据写入磁盘。对于PHP来说,每一次像 echo 这样的输出操作,同样.....
分类:
Web程序 时间:
2014-12-03 19:02:36
阅读次数:
198