fork download
  1. #include <stdio.h>
  2. int main() {
  3. int tmp;
  4. int var = scanf("%d", &tmp);
  5. printf("%d", var);
  6. return 0;
  7. }
  8.  
Success #stdin #stdout 0s 5392KB
stdin
Standard input is empty
stdout
-1