上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 46 下一页
  2016年4月24日
摘要: 江湖是什么,对于在象棋界厮杀的大钉来说,江湖就是一个矩阵,他的目标,就是在江湖之中骑着马,从他的位置出发,走到终点。 当然,大钉的马也遵从中国象棋中的“马走日”的规则,而且在矩阵中,也会有一些障碍物,马不能跳到障碍物上;如果大钉的马面前有障碍物,即被“别马腿”,那么他将不能跳向有障碍物的左前和右前这 阅读全文
posted @ 2016-04-24 15:56 Beserious 阅读(378) 评论(0) 推荐(0) 编辑
摘要: http://www.jisuanke.com/contest/1410 王大钉喜欢喝酒,存货都喝完了,他就去楼下买,正好楼下的商店为了响应学校的 ACM 校赛推出了优惠活动:凡是在本店买的啤酒,喝完以后 33 个空瓶可以换一瓶,44 个瓶盖也可以换一瓶酒。 王大钉觉得太合算了,决定多买,现在他手里 阅读全文
posted @ 2016-04-24 15:11 Beserious 阅读(272) 评论(0) 推荐(0) 编辑
  2016年4月22日
摘要: Segment Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1082 Accepted Submission(s): 398 Problem 阅读全文
posted @ 2016-04-22 18:42 Beserious 阅读(130) 评论(0) 推荐(0) 编辑
  2016年4月18日
摘要: https://icpc.njust.edu.cn/Contest/749/rank/、 a偷吃糖果 思路:读入的时候相同的字母合并成一个字母。最后比较一下。 /* *********************************************** Author :guanjun Cre 阅读全文
posted @ 2016-04-18 12:00 Beserious 阅读(299) 评论(0) 推荐(0) 编辑
  2016年4月13日
摘要: problem 250 Problem Statement Vasa likes to construct sequences of numbers. If you tell him a positive integer n, he will begin a new sequence by writ 阅读全文
posted @ 2016-04-13 19:17 Beserious 阅读(461) 评论(0) 推荐(0) 编辑
  2016年4月5日
摘要: Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For 阅读全文
posted @ 2016-04-05 18:25 Beserious 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Given a collection of integers that might contain duplicates, nums, return all possible subsets. Note: Elements in a subset must be in non-descending 阅读全文
posted @ 2016-04-05 18:23 Beserious 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Given a set of distinct integers, nums, return all possible subsets. Note: Elements in a subset must be in non-descending order. The solution set must 阅读全文
posted @ 2016-04-05 18:22 Beserious 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solution is: 阅读全文
posted @ 2016-04-05 18:21 Beserious 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num 阅读全文
posted @ 2016-04-05 16:55 Beserious 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 46 下一页