1159:偶数求和(c语言) 摘要:解题思路:注意事项:参考代码:#include int main () { int n, m; while(scanf("%d %d", &n, &m) != EOF) …… 题解列表 2023年01月31日 0 点赞 0 评论 266 浏览 评分:9.9
2913:【桶】整数去重_C++解法 摘要:解题思路:用bucket数组来标记该数字是否已经输出过。若为0,则可以输出;若不为0,则已经输出过,不用输出注意事项:bucket数组下标表示的是数列中的数字,所以数组长度大于100即可。同时将buc…… 题解列表 2023年01月31日 0 点赞 0 评论 657 浏览 评分:9.9
1676: 数据结构-链表的基本操作 摘要:说实话,用cin和cout输入输出实在是太慢了,所以我用scanf和printf进行输入输出。 ```cpp #include #include using namespace std; t…… 题解列表 2023年01月31日 0 点赞 0 评论 564 浏览 评分:9.9
1677: 数据结构-静态链表 摘要:```cpp #include #include using namespace std; struct ListNode { string elem; int next…… 题解列表 2023年01月31日 0 点赞 0 评论 439 浏览 评分:9.9
1200: 回文串 摘要:参考代码:#include<stdio.h> #include<string.h> int main(){ int i,j=0; char a[260],b[260]; gets(a);…… 题解列表 2023年01月31日 0 点赞 0 评论 457 浏览 评分:9.9
1678: 数据结构-双向循环链表 摘要:```cpp #include using namespace std; typedef int Status,ElemType; typedef struct DuLNode { …… 题解列表 2023年01月31日 0 点赞 0 评论 450 浏览 评分:9.9
1245: 神奇的fans 摘要:```cpp #include using namespace std; int main() { int cmp(const void *a,const void *b),i,n,…… 题解列表 2023年01月31日 0 点赞 0 评论 340 浏览 评分:9.9
1238: 演讲大赛评分 摘要:```cpp #include #include #include using namespace std; int main() { float a[7],b,c,d,e,f,…… 题解列表 2023年01月31日 0 点赞 0 评论 376 浏览 评分:9.9
1239: 班级人数 摘要:```cpp #include using namespace std; float least_stu(float a,float b) { int N=1; bool …… 题解列表 2023年01月31日 0 点赞 0 评论 345 浏览 评分:9.9
计算(a+b)*c的值 摘要:解题思路:输入后直接输出注意事项:无参考代码:#include<iostream> using namespace std; int main( ){ int a,b,c; cin>>a>>b…… 题解列表 2023年01月31日 0 点赞 0 评论 479 浏览 评分:9.9