2019年12月5日
摘要: 一个数组中有一个重复的数字,时间复杂度O(n),空间复杂度O(1) 找出来 #include <iostream>#include<stdlib.h>using namespace std;int main(){ int n = 1001; int *a = new int[n]; for (int 阅读全文
posted @ 2019-12-05 19:56 zhaofeng555 阅读(495) 评论(0) 推荐(0) 编辑