题解 1164: 数组的距离

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

非常ez,随便看懂

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m, n; scanf("%d %d", &m, &n); int a[……

【数组的距离】 (C++代码)

摘要:解题思路:排序后判断两个数组大小是否重合注意事项:使用sort排序方便一点参考代码:#include<bits/stdc++.h>using namespace std;bool cmp(int a,……

【数组的距离】 (C语言代码)

摘要:解题思路:代码量少,简单易懂,就不写提示了 (苦笑)!!!注意事项:参考代码:#include<stdio.h>int main(){ int n,m,i,k,n1; int x[1000],y[10……

暴力(c语言代码)

摘要:```c #include #include int main() { int n, m; // 用于存储两个数组的大小 scanf("%d %d", &n, &m……