- 博客(13)
- 资源 (1)
- 收藏
- 关注
原创 紫书 习题3-12 浮点数(Floating-Point Numbers,UVa11809)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<cstring>#include<math.h>#include<string.h>#include<ctype.h>#includ...
2020-04-27 19:58:29
256
1
原创 紫书 习题3-11 换抵挡装置(Kickdown,UVa1588)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<math.h>#include<cstring>#include<string.h>#include<ctype.h>#includ...
2020-04-24 15:56:03
183
原创 紫书 习题3-10 盒子(Box,UVa1587)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<math.h>#include<string.h>#include<ctype.h>#include<limits.h>using...
2020-04-22 15:47:18
182
原创 紫书 习题3-9 子序列(All in All,UVa10340)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<math.h>#include<string.h>#include<ctype.h>#include<limits.h>using...
2020-04-20 20:01:37
126
原创 紫书 习题3-8 循环小数(Repeating Decimals,UVa202)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<math.h>#include<string.h>#include<ctype.h>#include<limits.h>using...
2020-04-19 19:51:27
146
原创 紫书 习题3-7 DNA序列(DNA Consensus String,UVa1368)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<math.h>#include<string.h>using namespace std;const int MAX_M=55;const int MA...
2020-04-17 16:01:43
167
原创 紫书 习题3-6 纵横字谜的答案(Crossword Answers,UVa232)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<string.h>#include<ctype.h>#include<limits.h>using namespace std;const ...
2020-04-15 20:17:11
146
原创 紫书 习题3-4 周期串(Periodic Strings,UVa455)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<string.h>using namespace std;const int MAX=85;int main(){ int t; scanf("%...
2020-03-29 17:28:56
131
原创 紫书 习题3-3 数数字(Digit Counting,UVa1225)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<string.h>using namespace std;const int MAX=10005;int main(){ int t; int ...
2020-03-29 15:29:26
189
原创 紫书 习题3-2 分子量(Molar mass,UVa1586)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<math.h>#include<string.h>using namespace std;const int MAX=105;int main(){...
2020-03-29 15:27:06
108
原创 紫书 习题3-1 得分(Score,UVa1585)
#include<cstdio>#include<iostream>#include<algorithm>#include<string>#include<math.h>#include<string.h>#include<ctype.h>#include<limits.h>using...
2020-03-29 14:44:40
204
1
转载 ACM训练
转自本帖题目类型:1)递归与分治2)动态规划3)贪心算法4)回溯算法5)图的搜索算法6)图论7)数论8)组合数学9)分支限界算法推荐网站:https://vjudge.net/下面给出各题型的部分例题。注:1.题目来源于ZOJ,POJ和HUD; 2.同一个题目可采用多种解法,本帖题目分类不代表最优解法。1、递归与分治(27)(1)汉诺塔类问题(7)ZOJ(...
2019-05-19 17:38:08
429
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人