fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int n;
  5. scanf("%d", &n);
  6.  
  7. if (n < 0) {
  8. printf("%d\n", n);
  9. }
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0s 5312KB
stdin
2
stdout
Standard output is empty