/in/foo.cc: In function 'void fint2(int, int)':
/in/foo.cc:12:20: warning: statement has no effect [-Wunused-value]
yes[ans]==1;
~~~~~~~~^~~
/in/foo.cc: In function 'void findt(int)':
/in/foo.cc:50:14: error: 'fintt' was not declared in this scope
fintt(i-1);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:64:16: error: 'i' was not declared in this scope
if(anso[i]>n)break;
^
/in/foo.cc:64:19: error: 'n' was not declared in this scope
if(anso[i]>n)break;
^
/in/foo.cc:64:21: error: break statement not within loop or switch
if(anso[i]>n)break;
^~~~~
/in/foo.cc:65:8: error: 'sum' was not declared in this scope
sum++;
^~~
/in/foo.cc: At global scope:
/in/foo.cc:69:4: error: 'cin' does not name a type
cin>>n;
^~~
/in/foo.cc:70:4: error: expected unqualified-id before 'for'
for(int wei=3;wei<=9;wei++)
^~~
/in/foo.cc:70:18: error: 'wei' does not name a type
for(int wei=3;wei<=9;wei++)
^~~
/in/foo.cc:70:25: error: 'wei' does not name a type
for(int wei=3;wei<=9;wei++)
^~~
/in/foo.cc:74:8: error: expected constructor, destructor, or type conversion before '(' token
sort(anso+1,anso+ansi);
^
/in/foo.cc:76:4: error: expected unqualified-id before 'for'
for(int i=1;i<=ansi-1;i++)
^~~
/in/foo.cc:76:16: error: 'i' does not name a type
for(int i=1;i<=ansi-1;i++)
^
/in/foo.cc:76:26: error: 'i' does not name a type
for(int i=1;i<=ansi-1;i++)
^