Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2015-04-22 20:32:54
阅读次数:
145
作者: 小近2014-12-31 10:59来源: 中梦博客评论(1)浏览(265)减小字号增大字号现在由于苹果公司出了6和6Plus,让写苹果程序的哥们为了做兼容很头疼。用StoryBoard固然方便,但是后期做兼容要花费太多的时间和精力。使用AutoLayout虽然会在不同尺寸的屏幕下自动布局,...
分类:
其他好文 时间:
2015-04-22 20:28:56
阅读次数:
204
1、直接用sql*plus直接连数据库 用SQL*Plus 连接数据库的时候,出现一个对话框,要求填入用户名、密码、主机字符串信息。前两者不用说,自己会填对的,但是这个主机字符串好象没见过呀,其实这里的这个字符串就是我门在安装oracle的时候自动生成,它是配置的数据库连接服务名,与数据库系统标识符...
分类:
数据库 时间:
2015-04-22 20:16:33
阅读次数:
205
Tuning-primer.sh检测mysql当前的运行情况,产生报告,并给出优化建议。下载及使用:1.wgethttp://www.day32.com/MySQL/tuning-primer.sh2.将tuning-primer.sh拷贝到my.cnf同级目录3.chmod+xtuning-primer.sh执行:shtuning-primer.sh[root@DG-webDBsoftware]#./tuning-primer...
分类:
数据库 时间:
2015-04-22 15:58:08
阅读次数:
213
用long long竟然会超时
思路参考kuangbin的
因为n有1000000,可以用滚动数组
然后dp[i][j]表示选取第i个数,分成j组时的最大值
然后这里有一个比较独特的思路
一般的思路都是该数选或不选这两个状态,而这里不需要不选这个状态,不选的状态可以由
还要注意一点,这里i
//以前做过一些dp的题目,但都是一些很难的,基础没打好来,回来好好做一些基础dp
//其实做...
分类:
其他好文 时间:
2015-04-22 15:16:44
阅读次数:
80
0.Linux简单入门 《鸟哥的Linux私房菜》以及一些Linux下编程的调试基本知识 1.c++基础的学习 《c++ primer》 2.计算机网络 《Tcp/Ip详解 卷一》
分类:
其他好文 时间:
2015-04-22 01:57:52
阅读次数:
105
iOS篇 界面尺寸 设备 分辨率 状态栏高度 导航栏高度 标签栏高度 iPhone6 plus 1242×2208 px 60px 132px 147px iPhone6 750×1334 px 40px 88px 98px iPhone5/5s/5c 640×1136 px 40px 88px 98px iPho...
分类:
移动开发 时间:
2015-04-21 10:01:07
阅读次数:
221
说来惭愧,一道简单的对vector递归的题目写了一个多小时,最后还是请教了大神才改出来。 首先贴上原代码:void return_vector(vector::iterator,vector);int main(){ int n, temp; vector symbol{}; ...
分类:
编程语言 时间:
2015-04-21 00:03:24
阅读次数:
428
1.#include
void input(char *p, int b);
int main(void)
{
char ch[60];
int n;
printf("Please input the number:");
scanf("%d", &n);
getchar();
input(ch, n);
puts(ch);...
分类:
其他好文 时间:
2015-04-20 00:40:07
阅读次数:
138
题目描述Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.使用字符串表示数字,对数字进行“加1”操作,返回结...
分类:
其他好文 时间:
2015-04-18 23:48:52
阅读次数:
208