1113保留字母(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char s; while ((cin >> s)) { if (s…… 题解列表 2024年06月11日 0 点赞 0 评论 252 浏览 评分:0.0
1112一元二次方程(数学求根公式解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double a, b, c; cin …… 题解列表 2024年06月11日 0 点赞 0 评论 584 浏览 评分:0.0
记忆化搜索(dfs+字典)(dfs+剪枝) 摘要:解题思路: 一层循环线性遍历,vis用于去重,mp用于局部去重注意事项: 目前 dotcpp 官方测评数据存在问题参考代码:错解(目前可通过 dotcpp 所有测试样例)#include <bits/…… 题解列表 2024年06月11日 3 点赞 0 评论 620 浏览 评分:10.0
题解 1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; cin…… 题解列表 2024年06月10日 0 点赞 0 评论 150 浏览 评分:0.0
编写题解 1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2024年06月09日 0 点赞 0 评论 937 浏览 评分:9.9
编写题解 3000: 交换值 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<b<<…… 题解列表 2024年06月09日 0 点赞 0 评论 744 浏览 评分:9.9
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a,b; cin>>a>>b; cout<<a+b; re…… 题解列表 2024年06月09日 0 点赞 0 评论 631 浏览 评分:6.0
编写题解 2776: A*B问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2024年06月09日 0 点赞 0 评论 187 浏览 评分:0.0
编写题解 2751: 超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"…… 题解列表 2024年06月09日 0 点赞 0 评论 318 浏览 评分:7.3
编写题解 2758: 打印ASCII码 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char a; cin>>a; cout<<(int)a<…… 题解列表 2024年06月09日 0 点赞 0 评论 224 浏览 评分:9.9