symons

___________每一天都是幸福的!!

  博客园  ::  :: 新随笔  ::  :: 订阅 订阅  :: 管理

2014年1月2日

摘要: 历法的转换。 1 #include 2 #include 3 #include 4 char Haab[19][10]={ 5 "pop","no","zip","zotz","tzec","xul","yoxkin","mol", 6 "chen","yax","zac","ceh","mac","kankin",& 阅读全文
posted @ 2014-01-02 21:54 symons 阅读(150) 评论(0) 推荐(0)

摘要: 英语真差劲啊,看题目没看明白,无奈重新开始手抄题目,突然发现一句话 “For each cycle,you will be given the number of days form the beginning of the current year at which one of its peaks occurs. " 看到这句才反应过来应该把前三个值分别取余,好笨啊! 1 #include 2 #include 3 int main(){ 4 int k,i,n,j; 5 int a,b,c,d; 6 int cnt=0; 7 while(~scanf... 阅读全文
posted @ 2014-01-02 18:36 symons 阅读(144) 评论(0) 推荐(0)