fork download
  1. /*
  2. // Sample code to perform I/O:
  3. #include <stdio.h>
  4.  
  5. int main(){
  6. int num;
  7. scanf("%d", &num); // Reading input from STDIN
  8. printf("Input number is %d.\n", num); // Writing output to STDOUT
  9. }
  10.  
  11. // Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail
  12. */
  13.  
  14. // Write your code here
  15. #include <stdio.h>
  16.  
  17. int main(){
  18. int num;
  19. scanf("%d", &num); // Reading input from STDIN
  20. printf("Input number is %d.\n", num); // Writing output to STDOUT
  21. }
  22.  
Success #stdin #stdout 0s 5504KB
stdin
adds-sgehjkw-152832
stdout
Input number is 32766.