1115DNA(纯数组输入输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; int a;//行数,同时也是列数 int b;//输出…… 题解列表 2024年06月11日 0 点赞 0 评论 441 浏览 评分:0.0
1114排序(暴力破解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[5]; for (int i = 1; i <= 4;…… 题解列表 2024年06月11日 0 点赞 0 评论 474 浏览 评分:0.0
1113保留字母(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char s; while ((cin >> s)) { if (s…… 题解列表 2024年06月11日 0 点赞 0 评论 321 浏览 评分:0.0
1112一元二次方程(数学求根公式解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double a, b, c; cin …… 题解列表 2024年06月11日 0 点赞 0 评论 692 浏览 评分:0.0
记忆化搜索(dfs+字典)(dfs+剪枝) 摘要:解题思路: 一层循环线性遍历,vis用于去重,mp用于局部去重注意事项: 目前 dotcpp 官方测评数据存在问题参考代码:错解(目前可通过 dotcpp 所有测试样例)#include <bits/…… 题解列表 2024年06月11日 3 点赞 0 评论 723 浏览 评分: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 评论 209 浏览 评分: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 评论 1151 浏览 评分:9.9
编写题解 3000: 交换值 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<b<<…… 题解列表 2024年06月09日 0 点赞 0 评论 849 浏览 评分: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 评论 693 浏览 评分: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 评论 243 浏览 评分:0.0