1164: 数组的距离 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int m = 0, n = 0, f[1001] =…… 题解列表 2022年10月22日 0 点赞 0 评论 205 浏览 评分:0.0
【数组的距离】 (Java代码) 摘要:解题思路:把两个数组间的绝对值表示出来,然后相当于求最小值了注意事项:参考代码:import java.util.Scanner;public class xunlain1164 { public s…… 题解列表 2018年04月06日 0 点赞 0 评论 1262 浏览 评分:0.0
【数组的距离】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n, m; …… 题解列表 2019年04月14日 0 点赞 0 评论 960 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:#include <stdio.h>#include <math.h>int main(){ int i,j,m,n,t,min; int f[1000],g[1000]; w…… 题解列表 2018年02月25日 0 点赞 0 评论 1121 浏览 评分:0.0
【数组的距离】 (Java代码) 摘要:解题思路:import java.util.Scanner; public class C1164 { public static void main(String[] args) { …… 题解列表 2018年03月23日 1 点赞 0 评论 1053 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:代码量少,简单易懂,就不写提示了 (苦笑)!!!注意事项:参考代码:#include<stdio.h>int main(){ int n,m,i,k,n1; int x[1000],y[10…… 题解列表 2019年03月13日 1 点赞 0 评论 839 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//1164#include<math.h>#include<stdlib.h>int main(){ int m,n,i,j,m…… 题解列表 2019年03月08日 0 点赞 0 评论 868 浏览 评分:0.0
【数组的距离】 (C++代码) 摘要:解题思路:排序后判断两个数组大小是否重合注意事项:使用sort排序方便一点参考代码:#include<bits/stdc++.h>using namespace std;bool cmp(int a,…… 题解列表 2019年03月01日 0 点赞 0 评论 532 浏览 评分: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 评论 1346 浏览 评分:0.0
【数组的距离】这题目有点怪,貌似不需要排序吧 摘要:/*这题目有点怪,貌似不需要排序吧,就只是求最小的元素|差|*/ #include<stdio.h> #include"malloc.h" #include"math.h" int main(…… 题解列表 2018年11月21日 1 点赞 0 评论 929 浏览 评分:0.0