会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ybt雨过天晴
博客园
首页
新随笔
联系
订阅
管理
2019年2月26日
循环结构
摘要: /*输出1,2,3,4,5....n的值 #include<stdio.h>int main(){ int i,n; scanf("%d",&n); for(i=1;i<=n;i++) printf("%d\n",i); return 0; } */ /*7744问题,输出形如aabb的四位完全平方
阅读全文
posted @ 2019-02-26 21:06 ybt雨过天晴
阅读(75)
评论(0)
推荐(0)
2019年2月22日
基础程序
摘要: #include<stdio.h>/*int main(){ printf("%.1lf\n",8.0/5.0); return 0; } */ /*int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d\n",a+b); return 0;}*/
阅读全文
posted @ 2019-02-22 17:28 ybt雨过天晴
阅读(90)
评论(0)
推荐(0)
2018年10月13日
字符串的旋转
摘要: 题目描述:给定一个字符串,要求将字符串前面的若干个字符移到字符串的尾部。 void LeftShitOne(char*s,int n){ char t=s[0]; for(int i=1;i<n;i++) { s[i-1]=s[i]; } s[n-1]=t;} void LeftRotateStri
阅读全文
posted @ 2018-10-13 09:45 ybt雨过天晴
阅读(222)
评论(0)
推荐(0)
公告