【数组的距离】 (Java代码) 摘要:解题思路:import java.util.Scanner; public class C1164 { public static void main(String[] args) { …… 题解列表 2018年03月23日 1 点赞 0 评论 839 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int m,n; int a[1000],t,min=999999; scanf("%d %…… 题解列表 2018年03月27日 0 点赞 0 评论 857 浏览 评分:0.0
非常ez,随便看懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m, n; scanf("%d %d", &m, &n); int a[…… 题解列表 2024年12月29日 0 点赞 0 评论 560 浏览 评分:0.0
数组的距离题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m; int ans; cin…… 题解列表 2022年05月11日 0 点赞 0 评论 116 浏览 评分:0.0
1164: 数组的距离 摘要:解题思路:没想到暴力破解直接过了,两个数组每个数都减一遍最后输出最小的注意事项:参考代码:#include<bits/stdc++.h> using namespace std; bool big…… 题解列表 2022年04月03日 0 点赞 0 评论 185 浏览 评分:0.0
小白能看懂的 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int m =…… 题解列表 2023年01月17日 0 点赞 0 评论 105 浏览 评分:0.0
数组的距离 摘要:解题思路:调用了fabs()这个库函数去计算了绝对值(调用此库函数的头文件为<cmath>),不断用一个变量t去保存绝对值小的值注意事项:参考代码:#include<bits/stdc++.h>usi…… 题解列表 2023年05月01日 0 点赞 0 评论 122 浏览 评分:0.0
只能说,牛啊,要更加努力学习了 摘要:``详见代码即可 #include #include int main() { int f[1000]; int g[100…… 题解列表 2023年05月20日 0 点赞 0 评论 137 浏览 评分:0.0
1164: 数组的距离 摘要:```c++ #include int main() { int *p = nullptr; int *q = nullptr; int m, n; c…… 题解列表 2023年06月17日 0 点赞 0 评论 157 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(void){ int i, j, m, n, cha, cha1; int x[1…… 题解列表 2017年12月01日 0 点赞 0 评论 642 浏览 评分:0.0