Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 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.     cin>> nl;
  11.     for(int i = nl; i>0; --i){
  12.       cin>> line;
  13.       stringstream j;
  14.       j << line;
  15.       int k;
  16.       j >> k;
  17.       for(k; k>0; --k){
  18.     cin>> key;
  19.       }
  20.     }
  21.    
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement