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