上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 91 下一页
  2013年12月3日
摘要: oracle:出现下述错误,无法连接用户。 ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist IBM AIX RISC System/6000 Error: 2: No such file or directory解决方案:重启数据库 关闭数据库: 1、在aix上按照操作手册进行数据库的关闭。(或者使用sqlplus进行数据库关闭)具体操作如下: 操作手册关闭:打开窗口:#hostname 确认机器。 #su - oracle -c "/oracle/stoprcat.sh&qu 阅读全文
posted @ 2013-12-03 11:27 我的小人生 阅读(2099) 评论(0) 推荐(0) 编辑
摘要: 这题就是判断是等差数列还是等比数列,然后计算结果mod200907 因为数字比较大10的九次方所以等比用到了快速幂求模不懂可以看看算法导论,在大数那里有讲 #include #include #include #include int modPow(__int64 x,__int64 y) //计算x的y次方求余 快速幂不懂可以百度{ __int64 res=1,a=x; while (y>0) { if(y&1) { res=(res*a)%200907; } a=(a*a)%200907; y>>=1; } return res;}int ... 阅读全文
posted @ 2013-12-03 11:23 我的小人生 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Problem 2104 Floor problem Accept: 376Submit: 433 Time Limit: 1000 mSecMemory Limit : 32768 KB Problem DescriptionIn this problem, we have f(n,x)=Floor[n/x]. Here Floor[x] is the biggest integer such that no larger than x. For example, Floor[1.1]=Floor[1.9]=1, Floor[2.0]=2.You are given 3 positive.. 阅读全文
posted @ 2013-12-03 11:20 我的小人生 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Problem Description 给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ..., Nj },其中 1 #includeint num[10005];int main() { int k; while(scanf("%d", &k) != EOF && k) { for(int i = 0; i max) { max = sum; start = t; end = i; } ... 阅读全文
posted @ 2013-12-03 11:16 我的小人生 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 面向对象的设计原则常用的面向对象设计原则包括7个,这些原则并不是独立存在的,它们相互依赖、互为补充。 Java设计模式创建型模式简单工厂模式模式动机:考虑一个简单的软件应用场景,一个软件系统可以提供多个外观不同的按钮(如圆形按钮、矩形按钮、菱形按钮等),这些按钮都源自同一个基类,不过在继承基类后不同的子类修改了部分属性从而使得它们可以呈现不同的外观,如果我们希望在使用这些按钮时,不需要知道这些具体按钮类的名字,只需要知道表示该按钮类的一个参数,并提供一个调用方便的方法,把该参数传入方法即可返回一个相应的按钮对象,此时,就可以使用简单工厂模式。模式定义:又称为静态工厂方法(... 阅读全文
posted @ 2013-12-03 11:12 我的小人生 阅读(585) 评论(0) 推荐(0) 编辑
摘要: web基础 http://pan.baidu.com/s/1Fy7nV 阅读全文
posted @ 2013-12-03 11:09 我的小人生 阅读(142) 评论(0) 推荐(0) 编辑
摘要: A Plug for UNIXYou are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an international mandate to make the free flow of information and ideas on the Internet as cumbersome and bureaucratic as possible. Since the room was de 阅读全文
posted @ 2013-12-03 11:05 我的小人生 阅读(220) 评论(0) 推荐(0) 编辑
摘要: User表: User.javapackage user.domain;import java.io.Serializable;import java.util.Date;public class User implements Serializable{ /** * */ private static final long serialVersionUID = 1L; private Integer id; private String name; private String pass; private Date birth; public User(){ super();... 阅读全文
posted @ 2013-12-03 11:02 我的小人生 阅读(2424) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;int main(){ char str[50]; int i=0,n=0,m=0,x=0,l=0; cout='0'&&str[i]='a'&&str[i]='A'&&str[i]<='Z') x++; if(str[i]=='A') l++; i++; } cout<<"其中的数字个数是: "<<n<<endl; cout<& 阅读全文
posted @ 2013-12-03 10:58 我的小人生 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 参考网址: https://passport.csdn.net/account/login http://www.iteye.com/topic/638206 httpClient http://bbs.csdn.net/topics/390495789 http://developer.51cto.com/art/200806/76048.htm http://my.oschina.net/lldy/blog/57086 http://blog.csdn.net/yodlove/article/details/5938022 http://java.chi... 阅读全文
posted @ 2013-12-03 10:55 我的小人生 阅读(484) 评论(0) 推荐(0) 编辑
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 91 下一页