Main.cc: In function ‘int main()’:
Main.cc:9:6: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
if((ge==7||shi==7)||(i%7==0&&ge!=2)
^
Main.cc:10:4: error: expected ‘;’ before ‘continue’
continue;
^~~~~~~~
Main.cc:9:21: warning: statement has no effect [-Wunused-value]
if((ge==7||shi==7)||(i%7==0&&ge!=2)
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Main.cc:11:16: error: expected ‘)’ before ‘;’ token
cout<