题解列表

筛选

计算(a+b)*c的值

摘要:解题思路:输入后直接输出注意事项:无参考代码:#include<iostream>  using namespace std;  int main( ){  int a,b,c;  cin>>a>>b……

1239: 班级人数

摘要:```cpp #include using namespace std; float least_stu(float a,float b) { int N=1; bool ……

1238: 演讲大赛评分

摘要:```cpp #include #include #include using namespace std; int main() { float a[7],b,c,d,e,f,……

1245: 神奇的fans

摘要:```cpp #include using namespace std; int main() { int cmp(const void *a,const void *b),i,n,……

1676: 数据结构-链表的基本操作

摘要:说实话,用cin和cout输入输出实在是太慢了,所以我用scanf和printf进行输入输出。 ```cpp #include #include using namespace std; t……

2913:【桶】整数去重_C++解法

摘要:解题思路:用bucket数组来标记该数字是否已经输出过。若为0,则可以输出;若不为0,则已经输出过,不用输出注意事项:bucket数组下标表示的是数列中的数字,所以数组长度大于100即可。同时将buc……

李白打酒加强版

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n,m,dp[210][110][110];    ci……