0_0_33529664_21430.cpp:2:3: error: 'lty' does not name a type
lty[s++]=0;
^
0_0_33529664_21430.cpp:3:3: error: expected unqualified-id before 'if'
if(cnt>1) lty[s++]=1;
^
0_0_33529664_21430.cpp:4:3: error: expected unqualified-id before 'for'
for (int i=2;i<cnt;i++)
^
0_0_33529664_21430.cpp:4:16: error: 'i' does not name a type
for (int i=2;i<cnt;i++)
^
0_0_33529664_21430.cpp:4:22: error: 'i' does not name a type
for (int i=2;i<cnt;i++)
^
0_0_33529664_21430.cpp:20:3: error: expected unqualified-id before 'for'
for(int i=0;i<s;i++)
^
0_0_33529664_21430.cpp:20:15: error: 'i' does not name a type
for(int i=0;i<s;i++)
^
0_0_33529664_21430.cpp:20:19: error: 'i' does not name a type
for(int i=0;i<s;i++)
^
0_0_33529664_21430.cpp:27:3: error: 'cout' does not name a type
cout<<did<<endl;
^
0_0_33529664_21430.cpp:28:2: error: expected declaration before '}' token
}
^
|