Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. string st ;
  6. int b=0;
  7. getline (cin,st);
  8. stringstream cen(st);
  9. string tem;
  10. while (cen >> st )
  11. {
  12. cout << st << " : "<< st.size() <<endl;
  13. b++;
  14. }
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement