Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #include <string>
  2. #include <iostream>
  3. #include <sstream>  
  4.  
  5. using namespace std;
  6. int main() {
  7.     int nl;
  8.     string line = NULL;
  9.     string key = NULL;
  10.     Tree* tree = new Tree();
  11.     cin>> nl;
  12.     for(int i = nl; i>0; --i){
  13.       cin>> line;
  14.       stringstream j;
  15.       j << line;
  16.       int k;
  17.       j >> k;
  18.       for(k; k>0; --k){
  19.     cin>> key;
  20.       }
  21.     }
  22.    
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement