会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
啊啾有人想我
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2015年5月10日
图文转化(1)
摘要: 昨天:分配任务今天:配置android开发环境,查图片转换成黑白色的过程。问题:安装不上SDK,总是提示unable to connect!
阅读全文
posted @ 2015-05-10 23:42 啊啾有人想我
阅读(128)
评论(1)
推荐(0)
2015年5月6日
图文转换NABCD
摘要: 作为图文转化还是有很多优点的,在这里我就分析一下它的方便快捷Need:有些非电子版的文字不方便我们编辑,图文转换可以轻而易举达到目的。Approach:现在技术手段应该还有点难度,应该可以换个方法实现,扫描成Pdf格式再转成txt或doc格式,或者转化成识别图片中的文字。Benefit:有些非电子版...
阅读全文
posted @ 2015-05-06 22:54 啊啾有人想我
阅读(146)
评论(0)
推荐(0)
2015年4月30日
最大联通子数组
摘要: #include#define N 100#includeusing namespace std;typedef struct{ int dian[N]; int xian[N][N]; int dianx,xianx;}A;void set(A &shu,int x,int y)...
阅读全文
posted @ 2015-04-30 17:38 啊啾有人想我
阅读(163)
评论(0)
推荐(0)
2015年4月21日
首尾相连二维数组最大子数组和
摘要: #includeusing namespace std;#define N 4void maxhe(int a[],int &s,int &jmin,int &jmax){ int sum=a[0],b=a[0],x=0,y=0; int j=1; while((j-x=0)...
阅读全文
posted @ 2015-04-21 22:46 啊啾有人想我
阅读(236)
评论(1)
推荐(0)
2015年4月16日
首尾相连最大子数组和(3)
摘要: #includeusing namespace std;#define N 4void max(int a[],int &s,int &jmin,int &jmax){ int sum=a[0],b=a[0],x=0,y=0; int j=1; while((j-x=0) ...
阅读全文
posted @ 2015-04-16 12:41 啊啾有人想我
阅读(127)
评论(1)
推荐(0)
2015年4月15日
首尾相连最大子数组和(2)
摘要: #includeusing namespace std;#define Nu 5int main(){ int a[Nu]={2,-2,4,-6,1}; cout0) { b=a[j%Nu]; if(jb) ...
阅读全文
posted @ 2015-04-15 22:37 啊啾有人想我
阅读(109)
评论(0)
推荐(0)
首尾相接最大子数组和
摘要: #includeusing namespace std;#define Nu 5int main(){ int a[Nu]={1,-2,5,-3,6}; cout<<"随机产生数组为:"; for(int i=0;i<Nu;i++) cout<<a[i]<<" ";...
阅读全文
posted @ 2015-04-15 20:30 啊啾有人想我
阅读(124)
评论(0)
推荐(0)
2015年4月8日
二维数组最大子数组和
摘要: #include#define N 5using namespace std;int main(){ int a[4][5]={1,2,-1,-4,-20,-8,-3,4,2,1,3,8,10,1,3,-4,-1,1,7,-6},i,j; for(i=0;i<N-1;i++) { ...
阅读全文
posted @ 2015-04-08 21:02 啊啾有人想我
阅读(136)
评论(1)
推荐(0)
2015年4月2日
子数组的和2
摘要: #includeusing namespace std;#define Nu 100000int main(){ int a[Nu],k; cout100); a[i]=k==1?a[i]:-a[i]; cout<<a[i]<<" "; } co...
阅读全文
posted @ 2015-04-02 16:38 啊啾有人想我
阅读(103)
评论(0)
推荐(0)
2015年3月23日
连续数组最大值
摘要: #include using namespace std; #define N 10int main() { cout>num; for(int i=0;ihe[n]) n=i; } ////////////跟组最大和的位置i的值来确定参与的数 k=0; m=num; while(n>m) { ...
阅读全文
posted @ 2015-03-23 17:42 啊啾有人想我
阅读(373)
评论(1)
推荐(0)
上一页
1
2
3
4
5
下一页
公告