fork download
  1. #include <iostream>
  2. #include<string.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. char left[4] = {'0','0','0','0'};
  8. char str[10];
  9. gets(str);
  10. strcat(left,str);
  11. puts(left);
  12. return 0;
  13. }
Runtime error #stdin #stdout 0s 2684KB
stdin
Standard input is empty
stdout
Standard output is empty