题解列表
与圆形相关的计算C++
摘要:解题思路:定义 半径,圆周率,直径,周长,面积。注意事项: 引入#include <iomanip>参考代码:#include <iostream>#include <iomanip>using na……
太难了我不想打代码[STL训练]{A} + {B}
摘要:解题思路:set容器可以排序、去重、所以用它太几把合适了,先这样,在那样,最后那样,然后他妈的发现错了注意事项: 注意进厂时机!!!参考代码:#includeusing namespace s……
题目 1303: 统计数字题解
摘要:参考代码:#include<iostream>
#include<algorithm>
using namespace std;
int a[500001],n,ans=1;
int main……
蓝桥杯2021年第十二届国赛真题-二进制问题 #C++#dfs
摘要:```c++
#include
using namespace std;
typedef long long ll;
typedef pair PII;
const int N = 1e……
C语言训练-求矩阵的两对角线上的元素之和
摘要:解题思路:#include<bits/stdc++.h>using namespace std;int main(){ int i,j,s=0; int n; int a[10][10]; cin>>……
不高兴的津津(C++实现,两种方法:vector容器和结构体数组)
摘要:解题思路:方法一:用两个vector容器,第一个存放对应日期的上课时间,再将第一个的上课时间大于8的元素存放到第二个vector容器中,对第二个容器进行升序排序操作,最后遍历第二个容器将容器出现的第一……