Main.cc: In function 'int main()': Main.cc:10:7: error: 'j' was not declared in this scope cin>>j;//j表示后1个替换前1个 ^ Main.cc:16:15: error: expected ';' before '<' token for(int y=1,y