[编程入门]二维数组的转置 摘要:解题思路:输入二维数组,通过坐标关系直接输出数组注意事项:输出时注意三个换一行参考代码:#include<iostream>using namespace std;int main(){ int…… 题解列表 2022年09月05日 0 点赞 0 评论 476 浏览 评分: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 评论 445 浏览 评分:7.0
2664: 蓝桥杯2022年第十三届省赛真题-求和 #解题思路拿部分分思维:直接按照规矩,两两相乘再相加:````cpp#includeusingnamespacestd;constintmaxn=200005;intn;intarr[maxn];longlongresult=0;intmain(){//给数据io加速ios::sync_with_st 题解列表 2022年09月05日 0 点赞 0 评论 1387 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>void fcn(char *arr1, char *ar…… 题解列表 2022年09月05日 0 点赞 0 评论 496 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路: 输入字符串→测量字符串的长度→反转:只需要将第一位和最后一位调换位置即可,依次类推→中止条件:左下标数等有右下标数;注意事项:参考代码:#include <stdio.h>#include…… 题解列表 2022年09月05日 0 点赞 0 评论 614 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意题目要求,需要设计函数注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h…… 题解列表 2022年09月05日 0 点赞 0 评论 596 浏览 评分:0.0
编写题解 2281: 蓝桥杯2018年第九届真题-次数差 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string s="abcdefghigklmn…… 题解列表 2022年09月04日 0 点赞 0 评论 611 浏览 评分: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 评论 561 浏览 评分:6.0
1107: 纪念品分组 ```cpp#include#includeusingnamespacestd;intn,k,a[30010],flag[30010];boolcmp(inta,intb){returna>b;}intmain(){cin>>k>>n;for(inti=1;i>a[i];sort(a+1, 题解列表 2022年09月04日 0 点赞 1 评论 583 浏览 评分:9.9
1106: 奖学金 ```cpp#include#includeusingnamespacestd;structstudent{intid,Chinese,score;}stu[1000];boolsort_rule(studenta,studentb){if(a.score!=b.score)returna.score 题解列表 2022年09月04日 0 点赞 0 评论 1048 浏览 评分:9.9