strcpy?不不不,都多余了 摘要:```c #include int main() { int a,b; char s[10000]; scanf("%d%s%d",&a,s,&b); c…… 题解列表 2023年12月20日 0 点赞 0 评论 208 浏览 评分:9.9
1024: [编程入门]矩阵对角线求和 摘要:```python l = [] sum_zhu = 0 sum_fu=0 for i in range(3): l1 = list(map(int,input().split())…… 题解列表 2023年12月20日 0 点赞 0 评论 213 浏览 评分:0.0
最长最短单词 摘要:解题思路:注意事项:参考代码:myList=input().split()mydict= {}newList=[]for temp in myList: newList.append(len(t…… 题解列表 2023年12月20日 0 点赞 0 评论 326 浏览 评分:2.0
c代码记录之数组输出 摘要:没啥要注意的,他要的是行列最小坐标,直接倒序遍历比较 可加强训练的地方 1.行列数未知,自由输入 2.用指针写 #include #include …… 题解列表 2023年12月20日 0 点赞 0 评论 344 浏览 评分:0.0
简单的字符串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n=0; scanf("%d",&n); g…… 题解列表 2023年12月20日 0 点赞 0 评论 205 浏览 评分:0.0
面向过程编程 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[10] = {0};//初始化Apples的高度…… 题解列表 2023年12月19日 0 点赞 0 评论 174 浏览 评分:0.0
利用指针遍历大量数据提高效率 摘要:解题思路:利用指针遍历大量数据提高效率 memset 赋初值注意事项:参考代码:#include<iostream>#include<cstring>using name…… 题解列表 2023年12月19日 0 点赞 0 评论 190 浏览 评分:0.0
1637: 蓝桥杯算法训练VIP-斜率计算 摘要: x1,y1 = map(int,input().split()) x2,y2 = map(int,input().split()) if x1==x2: …… 题解列表 2023年12月19日 0 点赞 0 评论 153 浏览 评分:0.0
利用指针遍历得到答案 摘要:解题思路:循环输入数据,利用指针遍历,然后寻找最大值,记录位置注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n;…… 题解列表 2023年12月19日 0 点赞 0 评论 163 浏览 评分:0.0
2850: 输出亲朋字符串 摘要:``` #include using namespace std; const int N=10010; int main(){ string a,b; getline(cin,a);…… 题解列表 2023年12月19日 0 点赞 0 评论 193 浏览 评分:0.0