Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int cantCasos;
- cin >> cantCasos;
- for(int k=0; k<cantCasos; k++)
- {
- char c;
- cin >> c;
- string s;
- getline(cin, s);
- getline(cin, s);
- while(s.size())
- {
- cout << "Leido: " << s << endl;
- getline(cin, s);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment