暴力就完事 摘要:```c #include #include int main() { int a,n,i; scanf("%d%d",&a,&n); int *result=(int*)ma…… 题解列表 2021年12月08日 0 点赞 0 评论 604 浏览 评分:0.0
编写题解 1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码://求方程 的根,用三个函数分别求当b^2-4ac大于0、等于0、和小于0时的根,并输出结果。从主函数输入a、b、c的值。#include<stdio.h>#includ…… 题解列表 2021年12月08日 0 点赞 0 评论 735 浏览 评分:0.0
核桃的数量--找最小公倍数最简版(C语言代码) 摘要:解题思路:非常简单, 因为每组发一样多的核桃且每组都能平均分就是直接找一个最小的数, 且abc当除数,都可以整除。 即a,…… 题解列表 2021年12月08日 0 点赞 0 评论 964 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码://编程入门]自定义函数之字符串反转#include<stdio.h>#include<string.h>int main(){ void exchange(char a…… 题解列表 2021年12月09日 0 点赞 0 评论 505 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; i…… 题解列表 2021年12月09日 0 点赞 0 评论 609 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1,str2,…… 题解列表 2021年12月09日 0 点赞 0 评论 571 浏览 评分:0.0
C++解题思路 摘要:解题思路: 注意事项: 参考代码: #include<cstdio> #include<iostream> using namespace std; int main() { …… 题解列表 2021年12月09日 0 点赞 0 评论 1100 浏览 评分:0.0
编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double e; cin>>e; for(int …… 题解列表 2021年12月09日 0 点赞 0 评论 584 浏览 评分:0.0
编写题解 1053: 二级C语言-平均值计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; int s=0,b,n=0; …… 题解列表 2021年12月09日 0 点赞 0 评论 572 浏览 评分:0.0
编写题解 1056: 二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double a,b; cin>>a; b=(a-3…… 题解列表 2021年12月09日 0 点赞 0 评论 653 浏览 评分:0.0