二维数组的各种转置 摘要:解题思路:见注释注意事项:char str[a][b]要注意,a对应的数值范围是0到(a-1),所以进行其他矩阵变换要(a-1)-i参考代码://a*b的二位数组就是char str[a][b]这种格…… 题解列表 2023年03月15日 0 点赞 0 评论 653 浏览 评分:0.0
编写题解 2908: 白细胞计数 来一个c的,哈哈哈哈 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); double num[n]; for(int i=0;i<n;i…… 题解列表 2023年03月14日 0 点赞 0 评论 727 浏览 评分:9.9
笨小猴,第一次写解析 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char z[101]; scanf("%s",z);//输入一个字符串…… 题解列表 2023年03月14日 0 点赞 0 评论 531 浏览 评分:9.9
出现次数超过一半的数 可AC 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>#include<stdlib.h>int main(){ int n,flag=0,a[100]=…… 题解列表 2023年03月14日 0 点赞 0 评论 549 浏览 评分:0.0
链表实现复数求和(头插+尾插)C语言实现 摘要:解题思路:注意事项:参考代码:<1.尾插版>#include<stdio.h>#include<malloc.h> #include<stdlib.h>typedef struct number{ i…… 题解列表 2023年03月14日 0 点赞 0 评论 533 浏览 评分:0.0
外出旅行,python 摘要:解题思路:注意事项:参考代码:f,m,x,p=map(int,input().split())count=0while m>x+p: if f!=0: f-=1 m-…… 题解列表 2023年03月14日 0 点赞 0 评论 636 浏览 评分:0.0
新手最能看懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char ch[1000]; int sum=0; get…… 题解列表 2023年03月14日 0 点赞 0 评论 460 浏览 评分:0.0
和八皇后很类似,不过八皇后的想法更简单(判断合法性繁琐),这个题多了一个有:可能这一行不放棋子 importjava.math.BigInteger;importjava.util.*;publicclassMain{staticScannersc=newScanner(System.in);staticintn;staticintk;staticchar[][]arr;publicstatic 题解列表 2023年03月14日 0 点赞 0 评论 709 浏览 评分:0.0
1853: 蓝桥杯基础练习-数列排序 摘要:#include<stdio.h> int main() { int m,n; scanf("%d",&m); n=m; int a[n]; in…… 题解列表 2023年03月13日 0 点赞 0 评论 463 浏览 评分:0.0
1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:#include<stdio.h> int main() { int p,q; scanf("%d",&q); p=q; int a[p][p]; …… 题解列表 2023年03月13日 0 点赞 0 评论 480 浏览 评分:0.0