0_0_16110861_18063.cpp:4:2: error: expected primary-expression before 'int'
int M,i,m,n,t,a=0,b=0;
^
0_0_16110861_18063.cpp:4:2: error: expected '}' before 'int'
0_0_16110861_18063.cpp:4:2: error: expected ',' or ';' before 'int'
0_0_16110861_18063.cpp:5:7: error: expected constructor, destructor, or type conversion before '(' token
scanf("%d",&M);
^
0_0_16110861_18063.cpp:6:2: error: expected unqualified-id before 'for'
for(i=0;i<M;i++)
^
0_0_16110861_18063.cpp:6:10: error: 'i' does not name a type
for(i=0;i<M;i++)
^
0_0_16110861_18063.cpp:6:14: error: 'i' does not name a type
for(i=0;i<M;i++)
^
0_0_16110861_18063.cpp:26:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_16110861_18063.cpp:27:1: error: expected declaration before '}' token
}
^
|