摘要:
SudokuTime Limit:2000MSMemory Limit:65536KTotal Submissions:9679Accepted:4791Special JudgeDescriptionSudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure. In some of the cells are written decimal digits from 1 to 9. The oth 阅读全文
阅读排行榜
poj 1088 滑雪-----DP 动态规划
2012-05-16 17:29 by java环境变量, 341 阅读, 收藏,
摘要:
滑雪Time Limit:1000MSMemory Limit:65536KTotal Submissions:57209Accepted:20771DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9一个人可以从某个... 阅读全文
IOS UIFont 设置字体
2012-08-15 15:42 by java环境变量, 340 阅读, 收藏,
摘要:
label.font=[UIFontfontWithName:@"Arial-BoldItalicMT"size:24];字体名如下:Font Family: American TypewriterFont: AmericanTypewriterFont: AmericanTypewriter-BoldFont Family: AppleGothicFont: AppleGothicFont Family: ArialFont: ArialMTFont: Arial-BoldMTFont: Arial-BoldItalicMTFont: Arial-ItalicMTFont 阅读全文
cannot modify header information - headers already sent by ,php页面报错debug
2012-06-30 16:55 by java环境变量, 339 阅读, 收藏,
摘要:
信息的时候经常提示:cannot modify header information - headers already sent by (......)。其实已经实现需要的效果了,就是这个错误信息看着不爽,网上找了很多办法,综合使用得到的解决方法是1在页面顶部的php标签中加入ob_start();2在返回的信息下面加入ob_end_flush();这样就可以屏蔽错误信息的现实了另外转一下其他人的方法,也许在其他情况下也会有效If you got this message: "Warning: Cannot modify header information - headers a 阅读全文
slite 存储图片
2012-02-27 14:32 by java环境变量, 339 阅读, 收藏,
摘要:
NSData * UIImageJPEGRepresentation ( UIImage *image, CGFloat compressionQuality);复制代码和NSData * UIImagePNGRepresentation ( UIImage *image);复制代码写 到这里大家可能已经明白怎样将图片导进数据库了吧!!数据库中存放图片声音等都是BLOB类型的,什么是BLOB类型呢?这个暂时先不在这里讲解了从上个方法中得到的NSData类型就是我们要转换的基本格式了。废话不多说,且看代码:/*链接数据库部分略落*/创建数据表(就建立个简单的表格)char *error;NSSt 阅读全文
浙公网安备 33010602011771号