Run id: 147537
Main.cc: In function 'int main()':
Main.cc:6:30: warning: comparison of constant '12' with boolean expression is always true [-Wbool-compare]
if(month=1&&day<=24&&1<=month<=12&&1<=day<=31){
^
Main.cc:6:23: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(month=1&&day<=24&&1<=month<=12&&1<=day<=31){
^
Main.cc:6:42: warning: comparison of constant '31' with boolean expression is always true [-Wbool-compare]
if(month=1&&day<=24&&1<=month<=12&&1<=day<=31){
^
Main.cc:6:37: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(month=1&&day<=24&&1<=month<=12&&1<=day<=31){
^
Main.cc:6:46: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(month=1&&day<=24&&1<=month<=12&&1<=day<=31){
^
Main.cc: At global scope:
Main.cc:12:1: error: expected unqualified-id before 'return'
return 0;
^
Main.cc:13:1: error: expected declaration before '}' token
}
^