fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3. int main(){
  4. printf("asd");
  5. return 0;
  6. }
  7.  
  8. int printf(const char *__restrict __format, ...)
  9. {
  10. char str[100], scs[50];
  11. scanf("%s", &scs);
  12. strcpy(str,scs);
  13. puts(strcat(strcat(strcat(strcat(str," "), __format)," "),scs));
  14. return 1;
  15. }
  16.  
Success #stdin #stdout 0s 2160KB
stdin
Gábor
stdout
Gábor asd Gábor