计算1~N之间所有奇数之和 摘要:解题思路:从1到N判断每一个数如果为奇数,累加如果为偶数,跳过参考代码:#include"iostream" using namespace std; int ans = 0; bool che…… 题解列表 2021年10月11日 0 点赞 0 评论 763 浏览 评分:9.9
自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double M,a,c,d; double b=0; int N; scanf("%l…… 题解列表 2021年10月11日 0 点赞 0 评论 275 浏览 评分:0.0
最小公倍数 = a*b/最大公约数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s; int a; int b; int k,m; scanf("%d%d",&a,&b); m=a,k…… 题解列表 2021年10月11日 0 点赞 0 评论 391 浏览 评分:0.0
编写题解 1093: 字符逆序 基础解法 摘要:解题思路:正常解法注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int b,c,d,n; char a[100]; gets(a);…… 题解列表 2021年10月11日 0 点赞 0 评论 562 浏览 评分:9.9
数据结构单链表的使用 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include<stdlib.h>typedef int Elemtype;typedef struct LNode //结构定义{…… 题解列表 2021年10月11日 0 点赞 0 评论 361 浏览 评分:0.0
DNA-一种题解 摘要:参考代码:public void dna() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); f…… 题解列表 2021年10月11日 0 点赞 0 评论 188 浏览 评分:0.0
编写题解 1021: [编程入门]迭代法求平方根 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int a; …… 题解列表 2021年10月11日 0 点赞 0 评论 392 浏览 评分:7.3
编写题解 1979: 求平均工资 摘要:解题思路:编辑数组先求和再求平均值注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,b=0,c; scanf("%d",&n); int a[n];…… 题解列表 2021年10月11日 0 点赞 0 评论 276 浏览 评分:9.9
蓝桥杯算法训练-送分啦 让我吐个槽 摘要:解题思路:真的这么奇葩吗,我还没试试NO会怎么样注意事项:参考代码:#include<stdio.h>int main(){ printf("yes"); return 0;}…… 题解列表 2021年10月11日 0 点赞 0 评论 385 浏览 评分:9.9
错误代码-有无大佬抢救下。题解2123:拦截导弹 摘要:解题思路: 不想从前往后扫描,想从后往前扫描,抢救不回来了。注意事项:参考代码:/** * @author fzy * @create 2021/10/11 9:56 **/ impor…… 题解列表 2021年10月11日 0 点赞 0 评论 279 浏览 评分:0.0