Main.cc: In function 'int main()':
Main.cc:9:21: error: expected ')' before ';' token
cout<<(n-(y/x+1);
^
Main.cc:6:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&x,&y);
^