Main.cc: In function ‘int dengjia()’:
Main.cc:11:7: error: expected primary-expression before ‘)’ token
for()
^
Main.cc:15:3: error: expected primary-expression before ‘if’
if(x==1)
^~
Main.cc:15:3: error: expected ‘;’ before ‘if’
Main.cc:15:3: error: expected primary-expression before ‘if’
Main.cc:15:3: error: expected ‘)’ before ‘if’
Main.cc:6:25: warning: unused variable ‘y’ [-Wunused-variable]
int u,v[114]={0},w=0,x,y,z;
^
Main.cc:6:27: warning: unused variable ‘z’ [-Wunused-variable]
int u,v[114]={0},w=0,x,y,z;
^