Advertisement
Morass

Ahoy

Feb 26th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1.         int L(0);
  2.         while(m--)
  3.         {
  4.             scanf("%d", &many); getchar();
  5.             scanf("%s", aux);
  6.             int LL(strlen(aux));
  7.             while(many--)
  8.                 strcat(str+L, aux),L+=LL;
  9.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement