1511: 蓝桥杯算法提高VIP-复数求和 **问题描述:**从键盘读入n个复数(实部和虚部都为整数)用链表存储,遍历链表求出n个复数的和并输出。**解题思路:**1.创建链表,申请头结点2.void*str_Buynode()用于申请新的节点的函数3.通过循环,输入n组数据,并将头结点与新节点建立联系4.输出```c#include#incl 题解列表 2024年07月12日 0 点赞 0 评论 687 浏览 评分:9.9
1089:A + Bwhile循环通俗易懂 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int n,i;int a,sum;int main(){ cin >> n; w…… 题解列表 2024年07月12日 0 点赞 0 评论 497 浏览 评分:9.9
1088:A + B通俗易懂 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int n;int a,sum;int main(){ while(cin >>…… 题解列表 2024年07月12日 0 点赞 0 评论 555 浏览 评分:9.9
2854: 密码翻译 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月12日 0 点赞 0 评论 473 浏览 评分:0.0
题解 2855: 简单密码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;using namespace std;const int N=1e5+1;ch…… 题解列表 2024年07月12日 0 点赞 0 评论 432 浏览 评分:0.0
题解 2855: 简单密码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000];int main(){ cin.getline(s,10…… 题解列表 2024年07月12日 1 点赞 2 评论 422 浏览 评分:10.0
2852: 配对碱基链 ```cpp#includeusingnamespacestd;constintN=1e7;typedeflonglongll;chara[N];intmain(){cin>>a;for(inti=0;i 题解列表 2024年07月12日 0 点赞 0 评论 374 浏览 评分:0.0
getline的使用 摘要:#include<bits/stdc++.h> using namespace std; int main() { char c[1000]; cin.getline(c,1000); …… 题解列表 2024年07月12日 1 点赞 0 评论 670 浏览 评分:0.0
2852: 配对碱基链 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月12日 0 点赞 0 评论 388 浏览 评分:0.0
题解 2854: 密码翻译 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000];int main(){ cin.getline(s,10…… 题解列表 2024年07月12日 0 点赞 0 评论 404 浏览 评分:0.0