摘要: 例题: 51nod 1006 解析1:http://blog.csdn.net/yysdsyl/article/details/4226630/ 解析2:http://blog.csdn.net/hrn1216/article/details/51534607 阅读全文
posted @ 2018-03-18 10:40 boobird 阅读(119) 评论(0) 推荐(0) 编辑
摘要: int m,n,t; scanf("%d%d",&m,&n); while(m%n!=0) { t=m%n; m=n; n=t; } 阅读全文
posted @ 2018-03-14 16:20 boobird 阅读(136) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_4abcd9bc0100qkpb.html 阅读全文
posted @ 2018-03-10 10:39 boobird 阅读(85) 评论(0) 推荐(0) 编辑
摘要: [转]POJ WA/RE指南 “POJ上头的题都是数学题”,也不知道是那个家伙胡诌的……但是POJ的要求就是算法通过了也不让你AC。下面本人就这560题的经验,浅谈一下WA/RE了怎么办。 以下内容是扯淡…… 一、WA/RE了之后不要感到不爽……实际上,有让你WA的机会是很幸福的,如果在NOIP上我 阅读全文
posted @ 2018-03-08 14:19 boobird 阅读(2799) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/febr2/article/details/52068357 这个网址最下面 阅读全文
posted @ 2018-03-07 21:26 boobird 阅读(355) 评论(0) 推荐(0) 编辑
摘要: %y 两位数的年份表示(00-99) %Y 四位数的年份表示(000-9999) %m 月份(01-12) %d 月内中的一天(0-31) %H 24小时制小时数(0-23) %I 12小时制小时数(01-12) %M 分钟数(00=59) %S 秒(00-59) %a 本地简化星期名称 %A 本地 阅读全文
posted @ 2018-03-01 18:43 boobird 阅读(410) 评论(0) 推荐(0) 编辑
摘要: https://www.v2ex.com/amp/t/366311 阅读全文
posted @ 2018-03-01 18:22 boobird 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 今天碰到一个问题,就是我用os.path.join()连接两个文件名地址的时候,就比os.path.join("D:\","test.txt")结果是D:\test.txt,并且在我们往里面写东西,然后保存,在这个目录下会生成这个文件,但是如果你不写东西,那么执行这句话之后,在D盘的目录下是不会有这 阅读全文
posted @ 2018-02-23 18:27 boobird 阅读(214) 评论(0) 推荐(0) 编辑
摘要: B. Chtholly's request time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output — Thanks a lot for 阅读全文
posted @ 2017-12-06 11:38 boobird 阅读(348) 评论(0) 推荐(0) 编辑