2013年12月7日

摘要: CSS Sticky Footer Layout 阅读全文
posted @ 2013-12-07 19:50 彳亍豆 阅读(185) 评论(0) 推荐(0)

2013年11月24日

摘要: 一、修改配置文件方式 1、关闭 MySQ Llinux: 1)service mysqld stop 2)/usr/local/mysql/support-files/mysql.server stop Windows: 1) 命令提示符下执行 net stop mysql 2)计算机右键管理 -> 服务 ,找到mysql服务,停止此服务 2、修改配置文件 linux下配置文件为my.cnf ,windows下配置文件为my.ini,在[mysqld]下添加 skip-grant 3、重启My... 阅读全文
posted @ 2013-11-24 14:11 彳亍豆 阅读(267) 评论(0) 推荐(0)

2013年5月22日

摘要: Problem DTrouble with a PentagonInput:standard inputOutput:standard outputTime Limit:2 secondsMemory Limit:32 MBYou are asked to place the largest possible square inside a regular pentagon (whose internal angles are same and all the sides are same in length). You are given the information that one v 阅读全文
posted @ 2013-05-22 00:49 彳亍豆 阅读(567) 评论(0) 推荐(0)

2013年5月19日

摘要: Problem DThe Art GalleryInput:standard inputOutput:standard outputCentury Artshas hundreds of art galleries scattered all around the country and you are hired to write a program that determines whether any of the galleries has acritical point. The galleries are polygonal in shape and acritical point 阅读全文
posted @ 2013-05-19 11:11 彳亍豆 阅读(178) 评论(0) 推荐(0)

2013年5月18日

摘要: Center of MassesFind out the center of masses of a convex polygon.InputA series of convex polygons, defined as a numbern() stating the number of points of the polygon, followed byndifferent pairs of integers (in no particular order), denoting thexandycoordinates of each point. The input is finished 阅读全文
posted @ 2013-05-18 17:27 彳亍豆 阅读(235) 评论(0) 推荐(0)

2013年5月16日

摘要: SCUD BustersBackgroundSome problems are difficult to solve but have a simplification that is easy to solve. Rather than deal with the difficulties of constructing a model of the Earth (a somewhat oblate spheroid), consider a pre-Columbian flat world that is a 500 kilometer500 kilometer square.In the 阅读全文
posted @ 2013-05-16 22:41 彳亍豆 阅读(168) 评论(0) 推荐(0)

2013年4月24日

摘要: My T-shirt suits meOur friend Victor participates as an instructor in an environmental volunteer program. His boss asked Victor to distributeNT-shirts toMvolunteers, one T-shirt each volunteer, whereNis multiple of six, andNM. There are the same number of T-shirts of each one of the six available si 阅读全文
posted @ 2013-04-24 00:21 彳亍豆 阅读(199) 评论(0) 推荐(0)

2013年4月23日

摘要: The dog taskHunter Bob often walks with his dog Ralph. Bob walks with a constant speed and his route is a polygonal line (possibly self- intersecting) whose vertices are specified by N pairs of integers (Xi, Yi) - their Cartesian coordinates. Ralph walks on his own way but always meets his master a. 阅读全文
posted @ 2013-04-23 22:48 彳亍豆 阅读(145) 评论(0) 推荐(0)
 
摘要: Problem HThe Problemwith the Problem SetterInput: Standard InputOutput: Standard OutputThe number of students interestedto participate in this year's Intra-BUETProgramming Contest is huge. Since it is very difficult to accommodate sucha large number of students in our labs, we have decided to ar 阅读全文
posted @ 2013-04-23 21:31 彳亍豆 阅读(182) 评论(0) 推荐(0)

2013年4月22日

摘要: Problem A: Gopher IIThe gopher family, having averted the canine threat, must face a new predator.The arengophers andmgopher holes, each at distinct (x, y) coordinates. A hawk arrives and if a gopher does not reach a hole insseconds it is vulnerable to being eaten. A hole can save at most one gopher 阅读全文
posted @ 2013-04-22 01:02 彳亍豆 阅读(179) 评论(0) 推荐(0)