fork download
  1. main(n,m,x){scanf("%d%d%d",&n,&m,&x);printf("%d",(n-=x)<0||(m-=x)<0?0:n+m?n+m:1);}
  2.  
stdin
3 3
1

compilation info
prog.c:1: warning: return type defaults to ‘int’
prog.c: In function ‘main’:
prog.c:1: warning: implicit declaration of function ‘scanf’
prog.c:1: warning: incompatible implicit declaration of built-in function ‘scanf’
prog.c:1: warning: implicit declaration of function ‘printf’
prog.c:1: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:1: warning: control reaches end of non-void function
stdout
4