exercises 3.14-3.15

 1 #include <iostream>
 2 #include <string>
 3 #include <vector>
 4 using std::string;
 5 using std::vector;
 6 using namespace std;
 7 
 8 int main()
 9 {
10     int text;
11     vector<int> temp;
12     while(cin>>text){
13         temp.push_back(text);
14     }
15     
16     string text1;
17     vector<string> temp1;
18     while(cin>>text1){
19         temp1.push_back(text1);
20     }
21     
22     return 0;
23 }

 

posted @ 2015-04-17 09:24  无敌烤皮蛋  阅读(77)  评论(0)    收藏  举报