摘要: 这道题,用string过不了,需用char数组。但是我不知道为什么。题意:把一串数字拆分成几部分,使得和不超过给定值。求和最大的情况。用DFS搜索。#include #include #include #include #include #include #include #include #inc... 阅读全文
posted @ 2015-12-05 14:04 纸牌 阅读(133) 评论(0) 推荐(0)