摘要: 1098: [POI2007]办公楼biu Description FGD开办了一家电话公司。他雇用了N个职员,给了每个职员一部手机。每个职员的手机里都存储有一些同事的电话号码。由于FGD的公司规模不断扩大,旧的办公楼已经显得十分狭窄,FGD决定将公司迁至一些新的办公楼。FGD希望职员被安置在尽量多 阅读全文
posted @ 2018-08-30 21:18 mizersy 阅读(305) 评论(0) 推荐(0) 编辑
摘要: You are to write a program that has to decide whether a given line segment intersects a given rectangle. An example: line: start point: (4,9) end poin 阅读全文
posted @ 2018-08-30 19:20 mizersy 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Count the string It is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write dow 阅读全文
posted @ 2018-08-30 09:47 mizersy 阅读(151) 评论(0) 推荐(0) 编辑