![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
大礼包
linminghui1
这个作者很懒,什么都没留下…
展开
-
NOI题库 1.1编程基础之输入输出解题大礼包
NOI题库 1.1编程基础之输入输出解题大礼包原创 2018-09-25 22:54:08 · 539 阅读 · 0 评论 -
1.5解题大礼包
01:求平均年龄 #include using namespace std; int main() { double a; int b,c,d=0; scanf("%d",&b); for(int i=1;i<=b;i++) { scanf("%d",&c); d=c+d; } a=(d1.0)/(b1.0); printf("%.2lf",a); return 0; } ...原创 2018-10-25 17:19:38 · 228 阅读 · 0 评论 -
6377:生日相同 2.0AC答案
上代码: #include <iostream> #include <cstdio> #include <algorithm> #include <string.h> using namespace std; struct student { char id[25]; int month, date; int xu; ...原创 2018-10-21 21:09:48 · 825 阅读 · 0 评论 -
1973:确定进制AC答案
上代码: #include <bits/stdc++.h> using namespace std; int solve(int a,int b){ int k,s,t,w; s=k=0; while(a){ w=1; t=a%10; if(t>=b)return 0; //分离的数字不能大于等于基数,例如,2进制只能由0、1组成 for(int i=1;i<=k;i++)...原创 2018-10-21 21:13:09 · 699 阅读 · 0 评论 -
3089:爬楼梯AC答案
上代码: #include #include #include #include using namespace std; int tot=0; int find(int n) { if(n1)return 1; else if(n2) return 2; else return find(n-2)+find(n-1); } int main() { int a,b; while(cin>&...原创 2018-10-21 21:15:29 · 541 阅读 · 0 评论