foo.cc: In function 'int main()':
foo.cc:28:54: error: expected ')' before '{' token
if(((a>=11)&&(a>=d+2)) || ((d>=11)&&(d>=a+2)){
^
foo.cc:32:5: error: expected primary-expression before '}' token
}
^
foo.cc:44:54: error: expected ')' before '{' token
if(((a>=21)&&(a>=d+2)) || ((d>=21)&&(d>=a+2)){
^
foo.cc:48:5: error: expected primary-expression before '}' token
}
^
foo.cc:11:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&x);
~~~~~^~~~~~~~~
foo.cc:16:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&x);
~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务