/in/foo.cc: In function 'int main()':
/in/foo.cc:12:11: warning: unused variable 'count' [-Wunused-variable]
int n,count=100,g=0,t;
^~~~~
/in/foo.cc: In function 'int gethe(int)':
/in/foo.cc:41:17: error: 'n' was not declared in this scope
{for( int i=m;i<n;i++)
^
/in/foo.cc:42:3: error: 'count' was not declared in this scope
count=100+2*s[i].k;
^~~~~
/in/foo.cc:42:15: error: 's' was not declared in this scope
count=100+2*s[i].k;
^
/in/foo.cc:43:9: error: 'count' was not declared in this scope
return count;
^~~~~