模拟计算器(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m; char u; scanf("%d %d %c", &n, &m, &u)…… 题解列表 2022年07月17日 0 点赞 0 评论 472 浏览 评分:0.0
自定义函数之数字分离(C语言简单数组) 摘要: #include void aa (int x); int main() { int x; scanf("%…… 题解列表 2022年07月17日 0 点赞 0 评论 417 浏览 评分:0.0
单词个数统计(C语言) 摘要://当前字符为字母且下个字符不是字母时单词数加一 #include int main() { char a[80]; gets(a); int k=0, len=s…… 题解列表 2022年07月17日 0 点赞 0 评论 331 浏览 评分:0.0
超好懂的求一元二次方程 摘要:解题思路:取三个函数来计算三种情况,再一个函数来判断b*b-4*a*b与0的关系进那种情况;注意事项:了解如何计算二元一次方程的根,过程很简单;参考代码:#include<stdio.h>#inclu…… 题解列表 2022年07月17日 0 点赞 0 评论 312 浏览 评分:0.0
优质题解 1796: 蛇形填数(dfs) 摘要:解题思路:很久之前就看见这道题了,但是因为感觉模拟起来太复杂所以没有做,今天突然想到dfs寻路可能可以解这道题,就尝试了一下dfs做法。如上图所示,如果从右上角开始的话,优先级一定是先向下搜索,然后再…… 题解列表 2022年07月17日 0 点赞 0 评论 1255 浏览 评分:10.0
编写题解 1089: A+B for Input-Output Practice (V) 摘要:解题思路:定义三个变量来保存数据注意事项:参考代码:#include<bits/stdc++.h>//c++万能头文件using namespace std;int main(){ int n; in…… 题解列表 2022年07月17日 0 点赞 0 评论 288 浏览 评分:0.0
简单1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>//万能头文件using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2022年07月17日 0 点赞 0 评论 481 浏览 评分:0.0
学生成绩(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ typedef struct student{ char name[20]…… 题解列表 2022年07月17日 0 点赞 0 评论 336 浏览 评分:9.9
字符串的连接 摘要:```c //题目要求把两个字符串链接,我们可以想到用数组存储,然后加上指针进行位置运算来实现,其实也可以直接用strcopy直接拷贝过去,我们这里就自己来实现字符串的连接 #include #…… 题解列表 2022年07月17日 0 点赞 1 评论 702 浏览 评分:9.9
其实就是一个人简单的循环 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int n,a; cin>>n; for(int i=1;;i++) …… 题解列表 2022年07月17日 0 点赞 0 评论 317 浏览 评分:0.0