From c97a51b4a656b4d5bf46cfc98920cb34f95d586e Mon Sep 17 00:00:00 2001 From: zhouyuxaing <56668463+zhouyuxaing@users.noreply.github.com> Date: Sat, 26 Oct 2019 23:28:57 +0800 Subject: [PATCH] Revert "Create Ex07_7173" --- 201816040101/Ex07_13.cpp | 33 --------------------------------- 201816040101/Ex07_14.cpp | 27 --------------------------- 2 files changed, 60 deletions(-) delete mode 100644 201816040101/Ex07_13.cpp delete mode 100644 201816040101/Ex07_14.cpp diff --git a/201816040101/Ex07_13.cpp b/201816040101/Ex07_13.cpp deleted file mode 100644 index 7f452c4..0000000 --- a/201816040101/Ex07_13.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include -#include -#include -#include -#include -using namespace std; - - -int main() -{ - - arraya={0}; - int c=0;//标志 - int b; - for(size_t i=0;i>b; - c=0; - for(size_t j=0;j -#include -#include -#include -using namespace std; - -int main() -{ - vectornum(0); - int n; - for(int i=0;i<20;++i) - { - cin>>n; - int c=0;//标志 - for(int x:num)//判断是否有重复 - { - if(n==x) - c=1; - } - if(c==0) - num.push_back(n); - } - cout<<"value of vector:"<