随笔分类 -  Codeforces

摘要: 阅读全文

posted @ 2015-08-14 09:29 LLGemini 阅读(144) 评论(0) 推荐(0)

摘要:A.水题数字翻转,将每一位大于等于5的数字t翻转成9-t,注意不要有前导0,且翻转后数字的位数不变(即9999->9000...刚开始以为应该翻转成0了= =) 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 ... 阅读全文

posted @ 2015-02-15 16:59 LLGemini 阅读(155) 评论(0) 推荐(0)

摘要:C. Crazy TownCrazy Town is a plane on which there are n infinite line roads. Each road is defined by the equation aix + biy + ci = 0, where ai and bi ... 阅读全文

posted @ 2014-12-27 16:24 LLGemini 阅读(184) 评论(0) 推荐(0)