码迷,mamicode.com
首页 >  
搜索关键字:save your cat    ( 40251个结果
HDU1827Summer Holiday (强连通,缩点,最小费用)
Problem Description To see a World in a Grain of Sand And a Heaven in a Wild Flower, Hold Infinity in the palm of your hand And Eternity in an hour. —— William Blake 听说lcy帮大家预定了新马泰7日游,Wisk...
分类:其他好文   时间:2014-05-26 05:53:31    阅读次数:238
Graph(2014辽宁ACM省赛)
日之前点击链接进行网上报名,只有报名成功的同学才能参加选拔赛。 问题 F: Graph 时间限制: 1 Sec  内存限制: 128 MB 提交: 30  解决: 5 [提交][状态][论坛] 题目描述 Your task is to judge whether a regular polygon can be drawn only by straightedge...
分类:其他好文   时间:2014-05-26 05:29:16    阅读次数:389
配置NGINX支持中文URL 中文文件名或目录404无法访问的解决方法
NGINX不需要象apache那样要单独加载支持中文模块。 # cat /etc/sysconfig/i18n  LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" 如果没有i18n则创建,重启系统。 服务器端字符集如下 # locale LANG=en_US.UTF-8 LC_CTYPE=”en_US.UTF-8″ LC_NUMERIC=”e...
分类:其他好文   时间:2014-05-26 05:28:40    阅读次数:216
解决MySQL中文乱码问题
决解乱码费了我好些时间啊! 乱码原因有 1.mysql未设置为支持汉字 2.没有发送头信息 3.使用的编译器不符合相应的编码 决解的方法是 在mysql里 我用的是Wanmp Server 1.在mysql目录下找到my.ini,在[client]新增default-character-set=utf8 [client] #password = your_passwor...
分类:数据库   时间:2014-05-26 04:39:31    阅读次数:273
hdu2136Largest prime factor (关建在求素数,有点意思的题)
Problem Description Everybody knows any number can be combined by the prime number. Now, your task is telling me what position of the largest prime factor. The position of prime 2 is 1, prime 3 is ...
分类:其他好文   时间:2014-05-26 04:29:14    阅读次数:371
canvas.save() canvas.restore() 作用
这里canvas.save();和canvas.restore();是两个相互匹配出现的,作用是用来保存画布的状态和取出保存的状态的。这里稍微解释一下,   当我们对画布进行旋转,缩放,平移等操作的时候其实我们是想对特定的元素进行操作,比如图片,一个矩形等,但是当你用canvas的方法来进行这些操作的时候,其实是对整个画布进行了操作,那么之后在画布上的元素都会受到影响,所以我们在操作之前调用...
分类:其他好文   时间:2014-05-26 03:14:23    阅读次数:275
BURG For Ubuntu 14.04 Trusty
sudo add-apt-repository ppa:n-muench/burgsudo apt-get updatesudo apt-get install burg burg-themesDone. Now install BURG to your MBR(Master Boot Record...
分类:其他好文   时间:2014-05-26 01:01:33    阅读次数:256
create a C# context menu from code
I try the one of your approach, it works well in my computer. Below is my code: public void AddContextMenu() { ContextMenu mnuContextMenu = new Con...
分类:其他好文   时间:2014-05-26 00:36:55    阅读次数:266
ACboy needs your help again!
ACboy needs your help again!Time Limit : 1000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 36Accepted Submission(s...
分类:其他好文   时间:2014-05-25 19:35:18    阅读次数:198
hdu 1712 ACboy needs your help
题目:         链接:点击打开链接 题意:         n个课程m天完成,a[i][j]表示用j天完成第i个课程得到的价值,求最大价值。 算法:         分组背包。 思路:         m天是总容量,n是组数。 代码: #include #include #include using namespace std; int n,m; int a[110][...
分类:其他好文   时间:2014-05-25 18:16:18    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!