Run id: 139123
Main.cc: In function 'int main()':
Main.cc:6:17: warning: comparison of constant '12' with boolean expression is always true [-Wbool-compare]
if(1<=month<=12&&1<=day<=31&&month=1&&1<=day<=24){
^
Main.cc:6:10: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(1<=month<=12&&1<=day<=31&&month=1&&1<=day<=24){
^
Main.cc:6:29: warning: comparison of constant '31' with boolean expression is always true [-Wbool-compare]
if(1<=month<=12&&1<=day<=31&&month=1&&1<=day<=24){
^
Main.cc:6:24: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(1<=month<=12&&1<=day<=31&&month=1&&1<=day<=24){
^
Main.cc:6:50: warning: comparison of constant '24' with boolean expression is always true [-Wbool-compare]
if(1<=month<=12&&1<=day<=31&&month=1&&1<=day<=24){
^
Main.cc:6:45: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(1<=month<=12&&1<=day<=31&&month=1&&1<=day<=24){
^
Main.cc:6:40: error: lvalue required as left operand of assignment
if(1<=month<=12&&1<=day<=31&&month=1&&1<=day<=24){
^