上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页
摘要: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=8&problem=620&mosmsg=Submission+received+with+ID+17... 阅读全文
posted @ 2016-07-29 18:45 弃用博客 阅读(141) 评论(0) 推荐(0)
摘要: //小哈面前有三个箱子,手上有1,2,3三张牌,规定能放小牌就放小牌,小哈放完最后一个箱子后,最后在箱子的牌能有几种排列? #include #include using namespace std;int a[10],book[10],n;void dfs(int step) //step表示... 阅读全文
posted @ 2016-07-29 16:01 弃用博客 阅读(403) 评论(0) 推荐(0)
摘要: 一个没用到大数的进制转换的思想:http://www.cnblogs.com/phinecos/archive/2009/09/11/1564975.html 二、八、十、十六进制转换(图解篇):http://www.cnblogs.com/gaizai/p/4233780.html 题目连接:... 阅读全文
posted @ 2016-07-28 17:36 弃用博客 阅读(136) 评论(0) 推荐(0)
摘要: Rails Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 31441 Accepted: 12222 Description There is a famous railway station... 阅读全文
posted @ 2016-07-27 16:10 弃用博客 阅读(301) 评论(0) 推荐(0)
摘要: #include #include #include #include #include #include //olower 将大写字母转换为小写字母#include using namespace std;map cnt;vector words;string biaozhun(const ... 阅读全文
posted @ 2016-07-27 09:34 弃用博客 阅读(107) 评论(0) 推荐(0)
摘要: 1、迭代器是一种对象,它能够用来遍历STL容器中的部分或全部元素,每个迭代器对象代表容器中的确定的地址。迭代器修改了常规指针的接口,所谓迭代器是一种概念上的抽象:那些行为上象迭代器的东西都可以叫做迭代器。然而迭代器有很多不同的能力,它可以把抽象容器和通用算法有机的统一起来。 2、迭代器提供一... 阅读全文
posted @ 2016-07-26 21:49 弃用博客 阅读(142) 评论(0) 推荐(0)
摘要: The Blocks Problem Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5404 Accepted: 2314 Description Many areas of Computer S... 阅读全文
posted @ 2016-07-26 21:09 弃用博客 阅读(163) 评论(0) 推荐(0)
摘要: #include #include #include using namespace std;int sum[1002];char str[1000];int main(){ while(scanf("%s",str)&&strcmp(str,"0")) { int l... 阅读全文
posted @ 2016-07-26 10:55 弃用博客 阅读(119) 评论(0) 推荐(0)
摘要: 必须去掉前导0和后导0,一个特殊数据是对000.00这样的输出0 #include#includeusing namespace std;int main(){ string r; int n,dianwei; const int R_LEN=150;//存下的极限数位大小 ... 阅读全文
posted @ 2016-07-26 09:16 弃用博客 阅读(129) 评论(0) 推荐(0)
摘要: Modular multiplication of polynomials Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4516 Accepted: 2033 Description Con... 阅读全文
posted @ 2016-07-26 00:13 弃用博客 阅读(372) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页