摘要:
SudokuTime Limit:2000MSMemory Limit:65536KTotal Submissions:14530Accepted:7178Special JudgeDescriptionSudoku is a very simple task. A square table wit... 阅读全文
摘要:
历届试题 地宫取宝 时间限制:1.0s 内存限制:256.0MB问题描述 X 国王有一个地宫宝库。是 n x m 个格子的矩阵。每个格子放一件宝贝。每个宝贝贴着价值标签。 地宫的入口在左上角,出口在右下角。 小明被带到地宫的入口,国王要求他只能向右或向下行走。 走过某个格子时,如果那个格子... 阅读全文
摘要:
Problem DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M a.x;//最小值优先 } }; ... 阅读全文
摘要:
回溯法:避免无用判断,强化回溯代码的实现过程题目的大意就是以字典序为准,排列字符串,但要保证一个字符串中不包含相邻的重复子串。Problem DescriptionFor example, the sequence ABACBCBAD is easy, since it contains an ad... 阅读全文