码迷,mamicode.com
首页 >  
搜索关键字:do while    ( 38720个结果
快速排序算法
快速排序算法。python实现。 1 # -*- coding: utf8 -*- 2 3 import random 4 5 def partition(mylist, low, high): 6 pivotkey = mylist[low] 7 while low = piv...
分类:其他好文   时间:2014-05-17 01:25:40    阅读次数:305
杭电2014
1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int n; 8 double max,min,sum,aver; 9 double a[110] = {0};10 while...
分类:其他好文   时间:2014-05-16 22:47:35    阅读次数:452
杭电 2012
1 #include 2 3 using namespace std; 4 5 int is_prime(int ); 6 int main() 7 { 8 int x,y,val; 9 while (cin>>x>>y && x||y)10 {11 ...
分类:其他好文   时间:2014-05-16 22:43:26    阅读次数:335
FAILED TO DO DATA ASSOCIATION FOR OES DOMAIN(ORA_01017)
Error log:Problem Description-------------------1.Prepare DatabaseRun the RCU utilityCreate Prefix: DEVSelect:IdentityManagement->Oracle Adaptive Acce...
分类:其他好文   时间:2014-05-16 21:18:44    阅读次数:426
常用Application Server
综述,我们这里列出的application server应用服务器,主要是对servlet和JSP提供了良好的支持;[resin][Tomcat][jboss]community.jboss.org yum install java-1.6.0-openjdk-develwget http://do...
分类:移动开发   时间:2014-05-16 18:15:59    阅读次数:317
grape 图片api
desc "Update image" params do requires :id,:type =>String,:desc =>"ID." requires :image,:type =>Rack::Multipart::UploadedFile,:desc =>"Image f...
分类:Windows程序   时间:2014-05-16 07:58:31    阅读次数:348
shell note
死循环while :do# do somethingdone
分类:其他好文   时间:2014-05-16 06:16:36    阅读次数:227
杭电 2024
1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int n; 8 string str; 9 int flag;10 while (cin>>n)11 {12 ...
分类:其他好文   时间:2014-05-16 06:05:15    阅读次数:377
杭电2019
1 #include 2 using namespace std; 3 4 int main() 5 { 6 int a[110] = {0};//已经排好的 7 int n,m; 8 while (cin>>n>>m && n||m) 9 {10 ...
分类:其他好文   时间:2014-05-14 09:43:38    阅读次数:407
读取本地图片写到jsp页面
//读取本地图片写到jsp页面Filefile=newFile("D:/parking/A区12号.jpg");ServletOutputStreamout=null;InputStreamin=null;try{in=newFileInputStream(file);response().setContentType("multipart/form-data");inttempbyte;out=response().getOutputStream();while((tempbyte=..
分类:Web程序   时间:2014-05-13 13:15:20    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!