题解 1164: 数组的距离

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

筛选

暴力(c语言代码)

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

c语言的一种思路

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<limits.h>#include<math.h>#include<stdlib.h>int main(){    i……

敲简单C语言代码!!!

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

1164: 数组的距离

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() {     int m = 0, n = 0, f[1001] =……

1164: 数组的距离

摘要:解题思路:没想到暴力破解直接过了,两个数组每个数都减一遍最后输出最小的注意事项:参考代码:#include<bits/stdc++.h> using namespace std; bool big……

数组的距离

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>int main() {    int m,n,temp;    s……

1164: 数组的距离

摘要:```c++ #include int main() { int *p = nullptr; int *q = nullptr; int m, n; c……

数组距离qdqdqwd

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