码迷,mamicode.com
首页 >  
搜索关键字:format    ( 13577个结果
js 将long日期格式转换为标准日期格式
//扩展Date的format方法 Date.prototype.format = function (format) { var o = { "M+": this.getMonth() + 1, "d+": this...
分类:Web程序   时间:2015-04-03 12:57:49    阅读次数:181
通过cocos裁切图片,将大图分为小图
游戏要用动画,美工还没做出来,于是,从网上找来了几张图,不过图是JavaME时代的图,动画都是靠裁切来显示的,于是想将大图分割成小图来用。 图片规格:图中每个小图的大小是相等的,基本上都是正行,整列的。 上代码: const char * CutNormalImage::IMAGE_FORMAT_NAME = "image_ (%d).png" ; const char * pSav...
分类:其他好文   时间:2015-04-03 09:34:13    阅读次数:112
UVA - 108 - Maximum Sum (简单贪心)
UVA - 108 Maximum Sum Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Description Background A problem that is simple ...
分类:其他好文   时间:2015-04-03 09:25:36    阅读次数:210
UVA - 10716 - Evil Straw Warts Live (简单模拟)
UVA - 10716 Evil Straw Warts Live Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Description Problem D: Evil Straw Warts...
分类:其他好文   时间:2015-04-03 09:22:28    阅读次数:134
js 时间加减
//js格式化时间 "yyyy-MM-dd hh:mm:ss"Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(...
分类:Web程序   时间:2015-04-02 22:24:50    阅读次数:179
B - I Hate It HDU 1754 线段树
B - I Hate It Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1754 Description 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在...
分类:其他好文   时间:2015-04-02 19:04:35    阅读次数:119
HDU - 1247 Hat’s Words(字典树)
Hat’s Words Time Limit: 1000MS   Memory Limit: 32768KB   64bit IO Format: %I64d & %I64u Submit Status Description A hat’s word is a word in the dictionary that is the con...
分类:其他好文   时间:2015-04-02 19:03:41    阅读次数:186
POJ - 2886 Who Gets the Most Candies?
Who Gets the Most Candies? Time Limit: 5000MS   Memory Limit: 131072KB   64bit IO Format: %I64d & %I64u Submit Status Description N children are sitting in a circle to...
分类:其他好文   时间:2015-04-02 15:09:06    阅读次数:179
php中对数字类型的处理是:ceil floor round intval sprintf number_format
1 '; //123,45739 echo number_format($number,null,null,' ').''; //123 45740 echo number_format($number,2,'.','').''; //123456.7941 ...
分类:Web程序   时间:2015-04-02 13:13:35    阅读次数:136
最长子串(FZU2128)
最长子串Time Limit:3000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeFZU 2128Description问题很简单,给你一个字符串s,问s的子串中不包含s1,s2...sn的最长串有多长...
分类:其他好文   时间:2015-04-02 01:07:30    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!