摘要: upload image to db demo 图片: '; } ?> 阅读全文
posted @ 2016-04-02 01:33 桑海田 阅读(2105) 评论(0) 推荐(0) 编辑
摘要: sqlplus sys/123@222.16.65.250/orcl as sysdba conn L13209010003/lxh12345@222.16.65.250/orcl set serveroutput on; 数据库命名: rename medicine to m_medi; 1)sq 阅读全文
posted @ 2015-08-07 16:09 桑海田 阅读(697) 评论(0) 推荐(0) 编辑
摘要: ```public class Test{ public static void main(String[] args) { double a=2,b=3; double z1=Math.pow(a,b); double z2=Math.sqrt(9); System.out.println... 阅读全文
posted @ 2015-07-29 20:52 桑海田 阅读(264) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main(){ int i,j,n,m,k,*p,num[100];k=m=0;cin>>n;p=num;for(i=0;i<n;i++)*(p+i)=i+1;i=0;while(m<n-1){ if(*(p+i)!=0)k++;if... 阅读全文
posted @ 2015-06-01 00:00 桑海田 阅读(1181) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;struct student{char num[100];char name[100];int a;int b;int c;}stu[100];void input(int N){for(int i=0;i>stu[i].num>>stu[i... 阅读全文
posted @ 2015-05-31 23:59 桑海田 阅读(3544) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main(){long long s,n,i,j,p;s=0;cin>>n;for(i=1;i<=n;i++){ p=1;for(j=1;j<=i;j++) p*=j;s+=p;}cout<<s<<endl;return 0;} 阅读全文
posted @ 2015-05-31 23:58 桑海田 阅读(3548) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int gy(int a,int k1){int min;if(a>k1)min=k1;else min=a;while(min){ if(a%min==0&&k1%min==0){if(k1/min==1) cout>a>>j1>>b... 阅读全文
posted @ 2015-05-28 22:44 桑海田 阅读(971) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main(){int k,i;char s[5];cin>>k;for(;k>=26;)k%=26;for(i=0;i>s[i];if(('a'<=s[i]&&s[i]<='z')||('A'<=s[i]&&s[i]<='Z')... 阅读全文
posted @ 2015-05-28 22:42 桑海田 阅读(425) 评论(0) 推荐(0) 编辑