摘要: SegmentsTime Limit:1000MSMemory Limit:65536KTotal Submissions:7363Accepted:2207DescriptionGivennsegments in the two dimensional space, write a program, which determines if there exists a line such that after projecting these segments on it, all projected segments have at least one point in common.In 阅读全文
posted @ 2013-03-14 21:58 Jack Ge 阅读(253) 评论(0) 推荐(0) 编辑
摘要: [1271] Nth Day is Which Dayhttp://ac.nbutoj.com/Problem/view.xhtml?id=1271时间限制: 1000 ms 内存限制: 65535 K问题描述The first day is 1 year 1 month 1 day, so the Nth day is which day?输入Input until EOF. Input a positive integer N means the Nth day(0#include#includeusing namespace std;int m1[12]={31,28,31,30,31, 阅读全文
posted @ 2013-03-14 19:28 Jack Ge 阅读(265) 评论(0) 推荐(0) 编辑