Mã chấm: 268004
Main.cc: In function ‘int main()’: Main.cc:15:12: warning: left operand of comma operator has no effect [-Wunused-value] } while(a,b,x,y>=0 && a,b,x,y<=100); ^ Main.cc:15:14: warning: right operand of comma operator has no effect [-Wunused-value] } while(a,b,x,y>=0 && a,b,x,y<=100); ^ Main.cc:15:24: warning: right operand of comma operator has no effect [-Wunused-value] } while(a,b,x,y>=0 && a,b,x,y<=100); ^ Main.cc:15:21: warning: right operand of comma operator has no effect [-Wunused-value] } while(a,b,x,y>=0 && a,b,x,y<=100); ~~~~~^~~~ Main.cc:15:28: warning: right operand of comma operator has no effect [-Wunused-value] } while(a,b,x,y>=0 && a,b,x,y<=100); ^ Main.cc:15:33: warning: right operand of comma operator has no effect [-Wunused-value] } while(a,b,x,y>=0 && a,b,x,y<=100); ^~~ Main.cc:15:37: error: expected ‘}’ at end of input } while(a,b,x,y>=0 && a,b,x,y<=100); ^ Main.cc:6:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ~~~~~^~~~~~~~~ Main.cc:8:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b); ~~~~~^~~~~~~~~ Main.cc:10:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ~~~~~^~~~~~~~~ Main.cc:12:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&y); ~~~~~^~~~~~~~~