1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; c…… 题解列表 2023年12月05日 0 点赞 0 评论 648 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2023年12月05日 0 点赞 0 评论 644 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2023年12月05日 0 点赞 0 评论 544 浏览 评分:6.0
2763: 计算(a+b)/c的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月05日 0 点赞 0 评论 719 浏览 评分:9.9
1953: 三位数分解 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,c,d; cin>>d; a=d/…… 题解列表 2023年12月05日 0 点赞 0 评论 494 浏览 评分:9.9
一个for循环阶乘求和 摘要:解题思路:用a1表示阶乘的结果,再相加即可注意事项:a1和Sn的数据类型是long long int 参考代码:#include<bits/stdc++.h>using namespace std;i…… 题解列表 2023年12月06日 0 点赞 0 评论 377 浏览 评分:0.0
编写题解 2778: 判断数正负 摘要:解题思路:注意事项:范围可不写:去掉 import java.util.*;和 if( Math.pow(-10,9) < n && n <= Math.pow(10,9)){} 即可参考代码:im…… 题解列表 2023年12月06日 0 点赞 0 评论 610 浏览 评分:0.0
C语言考试练习题_一元二次方程--java语言 摘要:解题思路:①导入Scanner②输入a,b,c③输出x1,x2④保留两位输出注意事项:①导入②开方计算时使用sqrt(若没有提前导入Math,则需要在运行时写上:Math.sqrt())参考代码:im…… 题解列表 2023年12月06日 0 点赞 0 评论 343 浏览 评分:0.0
表达式括号匹配 摘要:解题思路:注意事项:参考代码:def func(s): stack = [] mapping = {')': '('} for char in s: …… 题解列表 2023年12月06日 0 点赞 0 评论 632 浏览 评分:9.9
堆栈的使用 摘要:解题思路:注意事项:参考代码:def stack_operation(commands): stack = [] output = [] for command in command…… 题解列表 2023年12月06日 0 点赞 0 评论 416 浏览 评分:0.0