[编程入门]二维数组的转置 摘要:解题思路:输入二维数组,通过坐标关系直接输出数组注意事项:输出时注意三个换一行参考代码:#include<iostream>using namespace std;int main(){ int…… 题解列表 2022年09月05日 0 点赞 0 评论 343 浏览 评分:9.9
paul: C语言数组后移--较易理解版本 摘要:#include const int N; int back(int a[],int b[],int m); int main(){ int i,m; scanf("%d"…… 题解列表 2022年09月05日 0 点赞 0 评论 319 浏览 评分:7.0
2664: 蓝桥杯2022年第十三届省赛真题-求和 摘要:# 解题思路 拿部分分思维:直接按照规矩,两两相乘再相加: ````cpp #include using namespace std; const int maxn = 200005…… 题解列表 2022年09月05日 0 点赞 0 评论 1145 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>void fcn(char *arr1, char *ar…… 题解列表 2022年09月05日 0 点赞 0 评论 327 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路: 输入字符串→测量字符串的长度→反转:只需要将第一位和最后一位调换位置即可,依次类推→中止条件:左下标数等有右下标数;注意事项:参考代码:#include <stdio.h>#include…… 题解列表 2022年09月05日 0 点赞 0 评论 436 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意题目要求,需要设计函数注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h…… 题解列表 2022年09月05日 0 点赞 0 评论 444 浏览 评分:0.0
编写题解 2281: 蓝桥杯2018年第九届真题-次数差 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string s="abcdefghigklmn…… 题解列表 2022年09月04日 0 点赞 0 评论 353 浏览 评分:0.0
1108: 守望者的逃离 摘要:```cpp #include using namespace std; int m,s,t; int main() { cin>>m>>s>>t; int s1=0,s…… 题解列表 2022年09月04日 0 点赞 0 评论 403 浏览 评分:6.0
1107: 纪念品分组 摘要:```cpp #include #include using namespace std; int n,k,a[30010],flag[30010]; bool cmp(int a,int …… 题解列表 2022年09月04日 0 点赞 1 评论 410 浏览 评分:9.9
1106: 奖学金 摘要:```cpp #include #include using namespace std; struct student { int id,Chinese,score; }stu…… 题解列表 2022年09月04日 0 点赞 0 评论 836 浏览 评分:9.9