向前走莫回头❤
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 32 下一页
摘要: 1:找和为K的两个元素#include#include#includeusing namespace std;int a[1010],n,k;int main(){ int i,j; scanf("%d%d",&n,&k); for(i=1;i#include#inc... 阅读全文
posted @ 2016-10-20 21:45 lris0-0 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 1:数组逆序重放#include#include#includeusing namespace std;int a[110],n;int main(){ int i; scanf("%d",&n); for(i=1;i0;--i) printf("%d ",a[i])... 阅读全文
posted @ 2016-10-20 21:39 lris0-0 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1:统计字符数#include#includeusing namespace std;char ch[1010];int num[150],n,len;int main(){ int i; scanf("%d",&n); while(n--) { getchar... 阅读全文
posted @ 2016-10-20 21:32 lris0-0 阅读(86) 评论(0) 推荐(0) 编辑
摘要: DP大法(之POJ): [1]POJ 动态规划题目列表 http://cippus.dlut.edu.cn/forum/posts/list/45.page容易: 1018,1050, 1083, 1088, 1125, 1143, 1157, 1163, 11... 阅读全文
posted @ 2016-10-20 21:25 lris0-0 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Communication SystemTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 27509 Accepted: 9795DescriptionWe have received an order... 阅读全文
posted @ 2016-10-20 21:21 lris0-0 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1520 回文字符串 时间限制: 1 s 空间限制: 64000 KB 题目等级 : 黄金 Gold题目描述 Description 所谓回文字符串,就是一个字符串,从左到右读和从右到左读是完全一样的,比如:aba kllkllk tyyt 都是。 ... 阅读全文
posted @ 2016-10-20 14:47 lris0-0 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1:单词替换#include#include#includeusing namespace std;char s[110],s1[110],s2[110];int len,l1,l2;int main(){ //freopen("int.txt","w",stdout... 阅读全文
posted @ 2016-10-20 10:44 lris0-0 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 1:单词翻转#include#include#include#includeusing namespace std;char s[510];int len;int main(){ int i,last=0; gets(s); len=strlen(s); fo... 阅读全文
posted @ 2016-10-20 10:41 lris0-0 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1:数组逆序重放#include#include#includeusing namespace std;int a[110],n;int main(){ int i; scanf("%d",&n); for(i=1;i0;--i) printf("%d ",a[i])... 阅读全文
posted @ 2016-10-20 10:37 lris0-0 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1:括号匹配问题#include#include#includeusing namespace std;char s[110];int len,d[110],t;bool p[110];int main(){ while((scanf("%s",s+1))==1) ... 阅读全文
posted @ 2016-10-20 10:32 lris0-0 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 32 下一页
过去的终会化为美满的财富~o( =∩ω∩= )m