题目 1465: 蓝桥杯基础练习VIP-回形取数(C++循环解决) 摘要: #include using namespace std; #define IOS ios::sync_with_stdio(false); const int inf = 0x3f…… 题解列表 2021年10月14日 0 点赞 0 评论 397 浏览 评分:9.9
1040: [编程入门]实数的打印 标题-题解(python) 摘要:解题思路:注意事项:参考代码:a = float(input())print('{:6.2f}'.format(a))print('{:6.2f} {:6.2f}'.f…… 题解列表 2021年10月14日 0 点赞 0 评论 318 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<b&&a<c) if…… 题解列表 2021年10月14日 0 点赞 0 评论 276 浏览 评分:0.0
字符串的输入输出处理 摘要:解题思路:while (gets(str) != NULL)用来进行判断是否输入结束注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){…… 题解列表 2021年10月14日 0 点赞 0 评论 314 浏览 评分:0.0
二级C语言-阶乘公式求职 摘要:解题思路:递归调用即可注意事项:参考代码:#include<stdio.h>double fact(int n);int main(){ int n; scanf("%d",&n); double s…… 题解列表 2021年10月14日 0 点赞 0 评论 272 浏览 评分:0.0
A+B for Input-Output Practice (II) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,m,i,j; int a[100]; scanf("%d",&n); for(m…… 题解列表 2021年10月14日 0 点赞 0 评论 639 浏览 评分:9.9
1914简单代码,仅供参考 摘要:解题思路:用for 和 if注意事项:sum的初值需要定义成0参考代码:#include<stdio.h>int main(){ int a,sum; sum=0; //注意sum=0,否则…… 题解列表 2021年10月14日 0 点赞 0 评论 299 浏览 评分:0.0
题目 2158: 信息学奥赛一本通T1235-输出前k大的数(c++) 摘要:解题思路:注意事项: 1.qsort 效率比sort高 2.用cin也会超时!!改成scanf/printf 3.qsort参数这里我一开始填的4 一直找不到错在哪了 后面改成了si…… 题解列表 2021年10月14日 0 点赞 0 评论 678 浏览 评分:6.0
二级C语言-阶乘公式求职 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ double n,k,b,c; scanf("%lf",&n); double fact(dou…… 题解列表 2021年10月14日 0 点赞 0 评论 302 浏览 评分:9.9
二级C语言-成绩归类 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int b=0,c,d=0,e=0,f=0; char ch; int a[1000]; w…… 题解列表 2021年10月14日 0 点赞 0 评论 439 浏览 评分:6.0