WU-【数组的距离】 (C++代码) 摘要:注意别数组越界了 s数组开大点 位100000+5再用快速排序 避免了超时参考代码:#include<stdio.h> #include<math.h> #include<iostream> …… 题解列表 2017年12月28日 5 点赞 0 评论 1451 浏览 评分: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 评论 845 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m,n,i,j,tem; int x[1000],y[100…… 题解列表 2017年09月02日 0 点赞 0 评论 1151 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int f[1000],g[1000],i,j,m,n,t[1000001]={0},k=0,l,min;…… 题解列表 2017年07月29日 0 点赞 0 评论 1198 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:解题思路:1.绝对值函数abs()在头文件math.h里面2.最小距离比较得来是关键参考代码:#include<stdio.h> #include<math.h>//包含绝对值函数的头文件 int…… 题解列表 2017年07月17日 8 点赞 13 评论 2722 浏览 评分:9.4
【数组的距离】 (C语言代码) 摘要:#include<stdio.h>int go(int x[], int y[]);int juedui(int s);int main(){ int x[1000], y[1000]; int m,…… 题解列表 2017年07月03日 3 点赞 0 评论 1673 浏览 评分:6.0