二、栈与队列 1、栈的定义 栈(Stack)是限制仅在表的一端进行插入和删除运算的线性表。
(1)通常称插入、删除的这一端为栈顶(Top),另一端称为栈底(Bottom)。 (2)当表中没有元素时称为空栈。 (3)栈为后进先出(Last In
First Out)的线性表,简称为LI...
分类:
编程语言 时间:
2014-05-06 09:00:26
阅读次数:
414
Factorial Problem in Base K
Time Limit: 2 Seconds Memory Limit: 65536 KB
How many zeros are there in the end of s! if both s and s! are written in base k which is not necessarily to be 10...
分类:
其他好文 时间:
2014-05-02 20:11:29
阅读次数:
376
public class cal{public static void main(String[]
args){calculator ca=new calculator();byte[] first=new byte[4];byte[] second=new
byte[4];System.out.p...
分类:
其他好文 时间:
2014-05-02 15:23:23
阅读次数:
395
敌兵布阵Time Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
37773Accepted Submission(s): 15923Problem Desc...
分类:
其他好文 时间:
2014-05-02 14:22:52
阅读次数:
303
I am out of the office until 0X/0X/201X.I will be
checking my email regularly. Please leave a complete message for me and I will
respond immediately w...
分类:
其他好文 时间:
2014-05-02 11:14:21
阅读次数:
2686
There is a war and it doesn't look very promising for your country. Now it's time to act. You have a commando squad at your disposal and planning an ambush on an important enemy camp located nearby. Y...
分类:
其他好文 时间:
2014-05-02 10:28:46
阅读次数:
424
Problem C: The Dragon of Loowater
Once upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem.
The shores of Rellau Creek in central Loowater had always been a prime...
分类:
其他好文 时间:
2014-05-02 10:07:09
阅读次数:
402
常用环境设置命令1.改变data输出形式set linesize 150 pagesize
100select * from emp;2.显示/关闭 当前时间set time on/off3.set sqlprompt
"session&get:"4. 设置sqlplus登录的username和in...
分类:
数据库 时间:
2014-05-02 05:40:40
阅读次数:
400
Little Wish~ lyrical step~
Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 417 Accepted Submission(s): 109
Problem Description
N chi...
分类:
其他好文 时间:
2014-05-02 04:37:42
阅读次数:
393
Lamp
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 771 Accepted Submission(s): 230
Special Judge
Problem Description
There are seve...
分类:
其他好文 时间:
2014-05-02 02:38:38
阅读次数:
443