1019 自由落体的距离计算 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<math.h>//次数 1 2 3 …… 题解列表 2024年05月12日 0 点赞 0 评论 179 浏览 评分:0.0
1020 猴子吃桃问题(逆向思维求解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//天数 1 2 3 4 5 //个数 1 4 10 22 46int main(){ int n; scan…… 题解列表 2024年05月12日 0 点赞 0 评论 158 浏览 评分:0.0
1021 求平方根 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>//运用到 sqrt 开平方; int main(){ double n; scanf("%lf",&n…… 题解列表 2024年05月12日 0 点赞 0 评论 126 浏览 评分:0.0
1022筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int sushu(int n){ for(int i=2;i*i<=n;i++) { if(n%i==0)//不是素数 { …… 题解列表 2024年05月12日 0 点赞 0 评论 173 浏览 评分:0.0
1023选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void xuanze(int a[],int n){ int i,j; for(i=1;i<=n-1;i++) { int min=…… 题解列表 2024年05月12日 0 点赞 0 评论 220 浏览 评分:0.0
1024 矩阵对角线求和(二维数组赋初值) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[4][4]; for(int i=1;i<=3;i++) { for(int j=1;j<=3;j…… 题解列表 2024年05月12日 0 点赞 0 评论 119 浏览 评分:0.0
题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=50;int a…… 题解列表 2024年05月12日 0 点赞 0 评论 214 浏览 评分:0.0
编写题解 1024: [编程入门]矩阵对角线求 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 187 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 308 浏览 评分:0.0
1025 数组插入处理(新建一个数组求解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ int a[22]; m…… 题解列表 2024年05月12日 0 点赞 0 评论 114 浏览 评分:0.0