1201: 回文数(一) 递归 摘要:```javascript #include//这个思路和回文(二)差不多 using namespace std; const int N=1e3; char m[N]={0}; int …… 题解列表 2021年02月28日 0 点赞 0 评论 570 浏览 评分:8.0
[编程入门]矩阵对角线求和-题解(C语言代码)(二维数组) 摘要:```c #include int main() { int a=0,b=0; int arr[3][3],row,col; for(row=0;row…… 题解列表 2021年03月02日 0 点赞 0 评论 493 浏览 评分:8.0
1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float r; scanf("%f",&r); printf("%.2f",r*r*3.14159);}…… 题解列表 2021年03月03日 0 点赞 0 评论 1291 浏览 评分:8.0
if、else if、else每个条件 摘要:解题思路:每个条件都列出来注意事项:参考代码#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<=b&&a…… 题解列表 2021年03月03日 0 点赞 0 评论 307 浏览 评分:8.0
全在代码中了 摘要:#include <string.h> #include <stdio.h> #include <stdlib.h> #include <math.h> int main() { …… 题解列表 2021年03月05日 0 点赞 0 评论 571 浏览 评分:8.0
1977: 求中间数。排序后输出中间位 摘要:解题思路:排序后输出中间位注意事项:宏定义不明白就换成普通tab交换参考代码:#include <stdio.h> #define CHANGE(a,b) a^=b,b^=a,a^=b int m…… 题解列表 2021年03月05日 1 点赞 0 评论 739 浏览 评分:8.0
编写题解 1545: 蓝桥杯算法提高VIP-现代诗如蚯蚓 容易理解 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(Strin…… 题解列表 2021年03月05日 0 点赞 0 评论 384 浏览 评分:8.0
整理玩具(python代码) 摘要:解题思路:无注意事项:参考代码:N=int(input())result_list=[]for I in range(N): X,Y=map(int,input().strip().split(…… 题解列表 2021年03月08日 0 点赞 0 评论 699 浏览 评分:8.0
pascal三角的打印方式 摘要:解题思路:首先观察示例,得出每当输入n时,打印出来的总是n+1行和n+1列,非0行和非0列时,可由公式计算得出,0行或者0列时,单独的考虑,返回1.实际上我们是在打印一个矩阵,只是这个矩阵的有些地方被…… 题解列表 2021年03月10日 0 点赞 0 评论 481 浏览 评分:8.0
蓝桥杯2019年第十届真题-旋转题解C++ 摘要:# 二维数组 ```cpp #include using namespace std; int main(){ int n,m; cin>>n>>m; int pic[n][m];…… 题解列表 2021年03月12日 0 点赞 0 评论 453 浏览 评分:8.0