fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. char str[50];
  6. int i=0,a[26]={0};
  7. while(str[i]!='\0')
  8. {
  9. a[str[i]-'a']++;
  10. i++;
  11. }
  12. for(i=0;i<26;i++)
  13. {
  14. printf("%s",str);
  15. }
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 5320KB
stdin
The five boXing wiZards JuMp quickly
stdout