码迷,mamicode.com
首页 >  
搜索关键字:lunar    ( 82个结果
公历转农历的python实现
大杂烩。作为自己的记录,保存。两个要点:1、公历转农历用了查表法(第126行)2、节气用了天文法?(第176行)运行图 (背景是hao123万年历)源代码: 1 # lunar.py 2 # 2015/02/27 罗兵 3 import datetime 4 5 class Lunar(...
分类:编程语言   时间:2015-02-27 06:41:17    阅读次数:541
poj 2828 Buy Tickets 万能的线段树大法。
Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Year was approaching, but unluckily the Little Cat still had schedules going here and there. Now, he had to travel by tra...
分类:其他好文   时间:2015-02-03 09:37:13    阅读次数:222
开源多语言公历农历转换
Lunar Solar Calendar Converter 公历(阳历) 农历(阴历)转换,支持时间段从1900-2100 如果需要更长的时间段,利用generate.htm生成的数据即可。 支持各种编程语言 C#,java,Objective-C,php,Python,javascript(nodejs),C/C++,ruby,swift等 支持Mac,Windows,An...
分类:编程语言   时间:2015-01-19 14:25:15    阅读次数:283
(中等) POJ 2828 Buy Tickets , 逆序+线段树。
Description: Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New .....
分类:其他好文   时间:2014-12-28 00:25:48    阅读次数:147
线段树 逆序 单点更新 PKU 2828
Buy Tickets Time Limit: 4000MS   Memory Limit: 65536K Total Submissions: 14077   Accepted: 7060 Description Railway tickets were difficult to buy around the Lunar New Yea...
分类:其他好文   时间:2014-12-08 21:31:35    阅读次数:254
JavaScript做的一个日历
小米手机上的日历看着不错,就用javascript试着做了一下,如图:核心内容就是三个部分,公历部分--->script.js,农历部分--->lunar.js,天气部分--->weather.js,尽管日历上加个天气好像看起来不那么恰当,但本来就是练习,就顺便写了。script.js主要在表格上填...
分类:编程语言   时间:2014-12-03 21:00:19    阅读次数:355
浅析C++绑定到Lua的方法
虽然将C++对象绑定到Lua已经有tolua++、LuaBridge和luabind等各种库可以直接使用,但弄清楚C++对象绑定到Lua的常见方法,不但有助于更深的了解Lua的机制,还可以方便修改第三方库以满足实际项目需求。本文通过分析第三方库Lunar的实现,来理解C++对象绑定到Lua的通常方法。...
分类:编程语言   时间:2014-11-06 20:04:14    阅读次数:293
POJ2828Buy Tickets
DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year ...
分类:其他好文   时间:2014-11-05 17:03:26    阅读次数:150
POJ 2828 线段树单点更新 离线搞
Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Year was approaching, but unluckily the Little ...
分类:其他好文   时间:2014-10-05 01:33:37    阅读次数:349
poj2828--Buy Tickets(线段树+详解)
Buy Tickets Time Limit: 4000MS   Memory Limit: 65536K Total Submissions: 13618   Accepted: 6802 Description Railway tickets were difficult to buy around the Lunar New Yea...
分类:其他好文   时间:2014-09-23 22:29:05    阅读次数:280
82条   上一页 1 ... 5 6 7 8 9 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!