摘要: signed main() { int a[11]={1000, 1,8, 1,4, 6,1, 3,2, 9,0}; sort(a+1,a+1+10); int len = unique(a+1, a + 1 + 10) - a -1; for(int i=1;i<1 + len;++i) cout<<a[i]<<" "; puts(""); cout<<len<<endl; return 0; 阅读全文
posted @ 2019-10-16 09:32 Unknown_Island 阅读(82) 评论(0) 推荐(0) 编辑