Main.cc:11:30: warning: missing terminating " character
cout<<""leap year";
^
Main.cc:11:13: error: missing terminating " character
cout<<""leap year";
^
Main.cc: In function 'int main()':
Main.cc:10:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(n%100!=0 && n%4==0|| n%400==0){
^
Main.cc:11:19: error: unable to find string literal operator 'operator""leap' with 'const char [1]', 'long unsigned int' arguments
cout<<""leap year";
^