Mã chấm: 271443
Main.cc: In function ‘int main()’: Main.cc:23:15: error: expected ‘)’ before numeric constant if(nu==a[i] 77 demnu=x && demnu>=y || demnam>=x && demnu>y || demnam>x && demnu>=y) ~~~~~~~~~~^~~~~~~~~~~ Main.cc:28:63: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(demnam>=x && demnu>=y || demnam>=x && demnu>y || demnam>x && demnu>=y) ~~~~~~~~~^~~~~~~~~~~ Main.cc:30:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",x+y); ~~~^ Main.cc:7:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld",&n,&x,&y); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Main.cc:15:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ~~~~~^~~~~~~~~~~~