水题,直接贴代码。
//poj 2895
//sep9
#include
using namespace std;
int map[200][2];
char a[1024];
int main()
{
map[' '][0]=1,map[' '][1]=1;
map['A'][0]=2,map['A'][1]=1;
map['B'][0]=2,map['B'][1]=2;
map[...
分类:
其他好文 时间:
2014-12-28 00:32:46
阅读次数:
153
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),...
分类:
其他好文 时间:
2014-12-26 16:41:15
阅读次数:
136
题目:
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the ...
分类:
编程语言 时间:
2014-12-25 16:25:25
阅读次数:
146
发现在调整页面的时候 ,老是报以下错误,导致无法静态显示ui效果。Missing styles. Is the correct theme chosen for this layout?Use the Theme combo box above the layout to choose a diff...
分类:
移动开发 时间:
2014-12-25 16:15:52
阅读次数:
249
You are performing a block media recovery on the tools01.dbf data file
in the SALES database using RMAN. Which two statements are correct in this
scenario? (Choose two.)
A. You must ensure that...
分类:
数据库 时间:
2014-12-24 11:47:06
阅读次数:
202
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2014-12-24 11:20:46
阅读次数:
184
http://referencedesigner.com/tutorials/si/si_02.phpThe Concept of Setup and Hold Time can be best understood with the picture shown below.The curve sh...
分类:
其他好文 时间:
2014-12-22 12:37:15
阅读次数:
193
用 户退出应用前给出一个提示是很有必要的,因为可能是用户并不真的想退出,而只是一不小心按下了返回键,大部分应用的做法是在应用退出去前给出一个 Dialog,我觉得这样不太友好,用户还得移动手指去按dialog中的按钮。个人觉得“再按一次返回键退出程序”是best practice,实现也很简单,直接...
分类:
移动开发 时间:
2014-12-22 07:02:16
阅读次数:
199
The loss of which two types of files may require a recovery with
the RESETLOGS option?(Choose two.)
A. control files
B. password file
C. archived log files
D. system-critical data files ...
分类:
数据库 时间:
2014-12-21 22:08:34
阅读次数:
249
1 of 5. What is a capability of Advanced Setup Search? Choose 2 answers A. Enter search criteria using wildcard characters, such as an asterisk...