码迷,mamicode.com
首页 >  
搜索关键字:$max    ( 23629个结果
POJ3176
#include #include #define max(a, b) (((a) > (b)) ? (a) : (b))void GetMaxCost(int **data, int **result, int n){ int i, j; for(j = 1; j = 1; i--) { for....
分类:其他好文   时间:2014-05-16 03:17:40    阅读次数:195
java内存不足
-Xmx1024m -Xms1024m -XX:PermSize=128m -XX:MaxPermSize=512m-------------------------亲测可用
分类:编程语言   时间:2014-05-16 00:41:38    阅读次数:281
MySQL内存参数及调整
1.慢查询日志:slow_launch_time=2 查询大于某个时间的值(单位:s)slow_query_log=on/off 开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log 慢查询日志位置2.连接数:max_connections MyS...
分类:数据库   时间:2014-05-15 21:44:08    阅读次数:447
zoj 3386 Trick or Treat 三分 求最大值的 最小值
题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3963题意: 给定 N 个不同的点, 求在x轴上的 一点, 使 这点到N个点的 距离 最大 的 最小值。f(x) = max(i){ (xi - x) ^2 + yi ^...
分类:其他好文   时间:2014-05-15 21:39:24    阅读次数:314
Mysql导入大SQL文件数据问题
如果sql文件过大,会出现mysql out of memory (NeededXXXbytes),或者"MySQL server has gone away"问题; 另外如果sql文件数据有中文,会出现乱码。解决的问题,修改max_allowed_packet参数,在my.ini或者my.cnf文...
分类:数据库   时间:2014-05-15 20:54:05    阅读次数:395
学习笔记MAX_SCRIPT_01
学习笔记 MAX_SCRIPT_01关于max script的脚本编辑一直想系统的学习一下,以下是我的学习笔记首先需要掌握的一些词汇:$showmoverotate(eulerAngles x y z)scalein coordsysforwhereclassOfrandom#() 和 []at t...
分类:其他好文   时间:2014-05-15 14:17:09    阅读次数:248
POJ2533
POJ2533#include #include #define max(a, b) (((a) > (b)) ? (a) : (b))void GetMaxIncLen(int *data, int *maxLen, int size){ int i, j; for(i = 2; i max) ....
分类:其他好文   时间:2014-05-15 13:52:57    阅读次数:259
NYOJ287
//#define LOCAL#include#include#include#includeint const MAX_N=1001;typedef struct Point{ double x,y; bool operatorVec[i].y) { ...
分类:其他好文   时间:2014-05-15 13:51:08    阅读次数:230
MySQL内存参数及调整
1.慢查询日志:slow_launch_time=2查询大于某个时间的值(单位:s)slow_query_log=on/off开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log慢查询日志位置2.连接数:max_connectionsMySQL最大连接数back_log当连接数满了后,设置一个值,允许多少个连接进入等待堆..
分类:数据库   时间:2014-05-15 12:44:41    阅读次数:385
优化脚本
第一步vim/etc/sysctl.conf net.ipv4.tcp_keepalive_time=1800 net.ipv4.tcp_keepalive_probes=5 net.ipv4.tcp_keepalive_intvl=15 net.core.rmem_max=167772160 net.core.wmem_max=167772160 net.ipv4.tcp_rmem=409687380167772160 net.ipv4.tcp_wmem=409665536167772160 net...
分类:其他好文   时间:2014-05-15 12:32:43    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!