运行 ID: 41591

Main.cc: In function ‘int main()’:
Main.cc:6:13: error: ‘m’ was not declared in this scope
     cin>>n>>m;
             ^
Main.cc:14:20: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
                 if(j%3==0;){
                    ^
Main.cc:14:23: warning: statement has no effect [-Wunused-value]
                 if(j%3==0;){
                    ~~~^~~
Main.cc:14:27: error: expected primary-expression before ‘)’ token
                 if(j%3==0;){
                           ^