求平方和-题解(C++代码) 摘要:解题思路:②输入 ③输出参考代码:#include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b;…… 题解列表 2020年12月26日 0 点赞 0 评论 664 浏览 评分:9.9
蓝桥杯算法训练VIP-判定字符位置-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char s[100]; int i = 0; gets(s); …… 题解列表 2020年12月26日 0 点赞 0 评论 230 浏览 评分:0.0
蓝桥杯算法训练VIP-A+B problem-题解(C语言代码)》》》》又是一道bug题 摘要:解题思路:只是一道bug题如下,就是错的,不能有判断语句注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(scan…… 题解列表 2020年12月26日 0 点赞 0 评论 257 浏览 评分:0.0
[递归]母牛的故事-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int sub(int a);int main(){ int n; while(1) { scanf("%d",&n); if(n==0…… 题解列表 2020年12月26日 0 点赞 0 评论 230 浏览 评分:0.0
[编程入门]猴子吃桃的问题-超简便又易懂的代码 摘要:解题思路:运用for循环进行运算注意事项:参考代码:#include<stdio.h>int main(){ int x=1,n; scanf("%d",&n); for(int i…… 题解列表 2020年12月26日 0 点赞 0 评论 665 浏览 评分:0.0
[编程入门]自由下落的距离计算-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h" #include"math.h"main() {int i,n;float h,s; scanf("%f%d",&s,&n);h=s/…… 题解列表 2020年12月26日 0 点赞 0 评论 303 浏览 评分:0.0
信息学奥赛一本通T1179-奖学金-题解(C语言代码) 摘要:## 思路:用结构体数组存储成绩和sum,数组下标即为学号 #include struct stu { int c; …… 题解列表 2020年12月26日 0 点赞 1 评论 1458 浏览 评分:9.5
[STL训练]寻梦-题解(Java代码)极简思路 摘要:注意事项: insert()方法只能被 StringBuffer 类的对象调用参考代码:import java.util.Scanner;public class Main { private…… 题解列表 2020年12月26日 0 点赞 0 评论 321 浏览 评分:0.0
蓝桥杯算法提高VIP-数组输出-题解(C语言代码) 摘要:解题思路:分类讨论,三目运算符行不通了注意事项:参考代码:#include<stdio.h> int main() { int a[3][4], i = 0, j = 0,max,x = …… 题解列表 2020年12月26日 0 点赞 0 评论 401 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串比较-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int str_cmp(char s0[80],char s1[80]); int main() { char s0[8…… 题解列表 2020年12月26日 0 点赞 0 评论 382 浏览 评分:0.0