摘要: We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1) no in 阅读全文
posted @ 2017-04-08 18:47 walfy 阅读(462) 评论(0) 推荐(0) 编辑
摘要: Given n segments in the two dimensional space, write a program, which determines if there exists a line such that after projecting these segments on i 阅读全文
posted @ 2017-04-08 16:46 walfy 阅读(412) 评论(0) 推荐(0) 编辑
摘要: Mom and dad have a problem: their child, Reza, never puts his toys away when he is finished playing with them. They gave Reza a rectangular box to put 阅读全文
posted @ 2017-04-08 13:53 walfy 阅读(457) 评论(0) 推荐(0) 编辑