会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sunyiran
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
49
50
51
52
53
2023年4月15日
4.15打卡
摘要: #include <iostream> #include <iomanip> using namespace std; int main() { char A,D,S,Q,ch; while(ch!='Q') { cout<<"Menu:A(dd) D(elete) S(ort) Q(uit),Se
阅读全文
posted @ 2023-04-15 18:43 记得关月亮
阅读(34)
评论(0)
推荐(0)
2023年4月14日
4.14打卡
摘要: #include <iostream> #include <iomanip> using namespace std; int main() { int n; cout<<"你考试考了多少分?(0-100)"; cin>>n; if(n>=90&&n<=100) cout<<"优"; if(n>=8
阅读全文
posted @ 2023-04-14 15:24 记得关月亮
阅读(14)
评论(0)
推荐(0)
2023年4月13日
4.13打卡
摘要: #include <iostream> #include <iomanip> using namespace std; int main() { char n; cout<<"现在正在下雨吗?(请输入Y或N)"; cout<<endl; cin>>n; if(n=='Y') cout<<"现在正在下
阅读全文
posted @ 2023-04-13 15:40 记得关月亮
阅读(15)
评论(0)
推荐(0)
2023年4月12日
4.12打卡
摘要: #include <iostream> #include <iomanip> using namespace std; void f(int a,int b) { int c; if(b) { c=a%2; a/=2; f(a,b-1); cout<<c; } } int main() { unsi
阅读全文
posted @ 2023-04-12 15:37 记得关月亮
阅读(22)
评论(0)
推荐(0)
2023年4月11日
4.11打卡
摘要: #include<iostream> #include <iomanip> using namespace std; int main() { int sum=0; int i,j; cin>>j; char a[20]; cin>>a; for(i=0;a[i]!=0;i++) { sum=(su
阅读全文
posted @ 2023-04-11 19:41 记得关月亮
阅读(16)
评论(0)
推荐(0)
2023年4月10日
4.10 打卡
摘要: 1 #include <stdio.h> 2 int main() 3 { 4 int x,y,count=0; 5 int a[20]; 6 scanf("%d",&x); 7 while(x/2) 8 { 9 a[count++]=x%2; 10 x/=2; 11 }//循环结束 12 a[co
阅读全文
posted @ 2023-04-10 20:44 记得关月亮
阅读(16)
评论(0)
推荐(0)
上一页
1
···
49
50
51
52
53
公告