蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<cmath>int main(){ double a,b,c,x1,x…… 题解列表 2022年01月26日 0 点赞 0 评论 260 浏览 评分:0.0
[编程基础]输入输出练习之浮点数专题 标题题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); printf("%f\n%0.5lf\n…… 题解列表 2022年01月26日 0 点赞 0 评论 283 浏览 评分:0.0
编程基础]输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c; scanf("%c",&c); printf(" %c\n",c); …… 题解列表 2022年01月26日 0 点赞 0 评论 319 浏览 评分:0.0
答案错了!!! 摘要:解题思路:两种解法注意事项:参考代码:解法一(正确解法)解法二:正确答案是:18446744073709551615…… 题解列表 2022年01月26日 0 点赞 0 评论 337 浏览 评分:0.0
抄别人的,没读懂题目,收尾交换.中间倒序 摘要:#include <stdio.h> #include <string.h> void reverse(char* s, int L, int R){ if(L >= R) return…… 题解列表 2022年01月26日 0 点赞 0 评论 245 浏览 评分:0.0
较容易理解的解法 摘要:解题思路:总分为45,平均每家15,所以a+b=6,c+d=7;注意事项:参考代码:#include<iostream>using namespace std;int add(int a, int b…… 题解列表 2022年01月27日 0 点赞 0 评论 285 浏览 评分:0.0
简单易懂--邮票组合 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int t = 0; for (int i = 0…… 题解列表 2022年01月27日 0 点赞 0 评论 313 浏览 评分:0.0
题解 1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstdio>using namespace std;int main(){ …… 题解列表 2022年01月27日 0 点赞 0 评论 284 浏览 评分:0.0
1147: C语言训练-角谷猜想 摘要:解题思路:首先获取输入的数值;使用scanf()函数;根据题目要求,需要在一个循环中依次输出针对该数值的运算过程;首先需要判断输入数是奇数或是偶数;通过if,else if判断进入不同的分支;使用m接…… 题解列表 2022年01月27日 0 点赞 0 评论 453 浏览 评分:0.0
1149: C语言训练-计算1~N之间所有奇数之和 摘要:解题思路:定义变量N(接收输入的正整数),i(依次循环的值),以及sum(存放奇数的和);使用for循环,循环1-N之间的数,判断是否为奇数,方法为计算该数与2的余数是否为1;如果余数为1,判断为奇数…… 题解列表 2022年01月27日 0 点赞 0 评论 1029 浏览 评分:0.0