题目 2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<math.h> using namespace std; int main() { double x1…… 题解列表 2024年02月28日 0 点赞 0 评论 158 浏览 评分:0.0
题目 2750: 字符菱形 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<stdlib.h> using namespace std; int main() { char c;…… 题解列表 2024年02月28日 0 点赞 0 评论 305 浏览 评分:0.0
多边形内角和 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int n; cin>>n; int a[n-1]; int sum1=(n-2)*180…… 题解列表 2024年02月28日 0 点赞 0 评论 239 浏览 评分:9.9
基于表格的dfs 摘要: # 参考代码 ```cpp #include #include using namespace std; int f[10][10] = { -1 }; //-1:未走过; 0初…… 题解列表 2024年02月28日 0 点赞 0 评论 210 浏览 评分:9.9
基于面向对象的循环链表 摘要:# merge函数的逻辑 ## (1)L1的尾结点与L2的首元素结点连接 ## (2)维护L1的表头信息 ### ①维护back 修改L1的back 变为 L2的back 修改L1的ba…… 题解列表 2024年02月28日 0 点赞 0 评论 402 浏览 评分:9.9
c++间接方法,超级简单 摘要:解题思路:一段话中判断英语单词的个数,其实可以间接来做,就是通过英文空格的个数,进而判断单词出现的个数注意事项:能通过所有测试,我不清楚题目说的英文输入包括不包括标点符号,如果仅仅只是看单词的输入的话…… 题解列表 2024年02月27日 0 点赞 0 评论 163 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,ans=0; cin>…… 题解列表 2024年02月27日 0 点赞 0 评论 207 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-卡牌-两种思路(二分+暴力枚举) 摘要:解题思路:思路1:暴力枚举先把数组从小到大排序,然后先从小的开始凑套。思路2:二分枚举二分枚举可以凑成mid套注意事项:需要开longlong参考代码:暴力枚举:#include <bits/stdc…… 题解列表 2024年02月26日 0 点赞 0 评论 542 浏览 评分:6.0
编写题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,ans=0; cin>…… 题解列表 2024年02月26日 0 点赞 0 评论 187 浏览 评分:0.0
编写题解 2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年02月26日 0 点赞 0 评论 220 浏览 评分:0.0