摘要: DescriptionThere is a closed broken line on a plane with sides parallel to coordinate axes, without self-crossings and self-contacts. The broken line consists of K segments. You have to determine, whether a given point with coordinates (X0,Y0)is inside this closed broken line, outside or belongs to 阅读全文
posted @ 2013-07-17 21:50 木易在看海 阅读(318) 评论(0) 推荐(0)
摘要: Time Limit:500MSMemory Limit:4096KB64bit IO Format:%I64d & %I64uDescriptionOn a circle border there are 2k different points A1, A2, ..., A2k, located contiguously. These points connect k chords so that each of points A1, A2, ..., A2k is the end point of one chord. Chords divide the circle into p 阅读全文
posted @ 2013-07-16 21:30 木易在看海 阅读(191) 评论(0) 推荐(0)
摘要: Time Limit:500MSMemory Limit:4096KB64bit IO Format:%I64d & %I64uDescriptionThere are two boxes. There are A balls in the first box, and B balls in the second box (0 #include#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include#in 阅读全文
posted @ 2013-07-16 21:25 木易在看海 阅读(317) 评论(0) 推荐(0)