摘要:
1 #include<iostream> 2 #include<vector> 3 using namespace std; 4 int main() { 5 vector<int> arr; 6 int i; 7 cout<<"please input the num:"<<endl; 8 while(cin>>i) 9 arr.push_back(i);10 cout<<"the num you have input is :"<<endl;11 for( 阅读全文