摘要:
分析:好邪恶的一题,是典型的LCS变形,数据规模没有给出,但却很大。直接开2维会超空间,要用滚动数组。 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.c... 阅读全文
摘要:
分析:简单的博弈论。 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#includeiostream> usingnamespacestd... 阅读全文
摘要:
分析:挺简单的搜索,用DFS的时候把搜到的点置1,然后统计一下就行了。 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#includeio... 阅读全文
摘要:
分析:经典DP,从上往下递归,从下往上求解。 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#includeiostream> using... 阅读全文
摘要:
分析:读题比做题难~ ~!!,要找规律,给出一个有帮助的数列,0 1 3 6 10 15 21 28 ...... Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighli... 阅读全文
摘要:
分析:要灵活变通。 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#includeiostream> #includecmath> us... 阅读全文
摘要:
没什么好分析,只要弄懂题意就行了。 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#includeiostream> #included... 阅读全文