
OJ
gfgdsg
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
题目1464:Hello World for U
#include #includeconst int MAX=100; int main(){ int n1,n2,n3,i,j; char str[MAX]; while(scanf("%s",str)!=EOF){ int len=strlen(str); if(len%3!=0){ n1=len/原创 2014-07-24 17:19:56 · 400 阅读 · 0 评论 -
题目1538:GrassLand密码
http://ac.jobdu.com/problem.php?pid=1538#include using namespace std; int secret(char a) { if(a>='w')return 9; else if(a>='t')return 8; else if(a>='p')return 7; else原创 2014-08-29 10:57:59 · 248 阅读 · 0 评论 -
题目1199:找位置
#include#includeusing namespace std;int main(){ char str[100]; int i,j,n; int flag; while(cin>>str) { n=strlen(str); for( i=0;i<n;i++) { flag=0;原创 2014-08-29 10:56:56 · 440 阅读 · 0 评论 -
题目1121:首字母大写
http://ac.jobdu.com/problem.php?pid=1121原创 2014-08-29 10:57:54 · 526 阅读 · 0 评论 -
题目1361:翻转单词顺序
http://ac.jobdu.com/problem.php?pid=1361#include#include#include#include#includeusing namespace std;int main(){ char str[100000]; while(gets(str)) { int len,i,j; len=strle原创 2014-08-29 10:57:02 · 384 阅读 · 0 评论