0_0_29861192_29429.cpp: In function 'bool check(int, int, int)':
0_0_29861192_29429.cpp:11:12: error: 'sum' was not declared in this scope
int uu=sum[ed][num]-sum[st-1][num]+hh[num];
^
0_0_29861192_29429.cpp:11:40: error: 'hh' was not declared in this scope
int uu=sum[ed][num]-sum[st-1][num]+hh[num];
^
0_0_29861192_29429.cpp:12:12: error: 'a' was not declared in this scope
if(uu>=a[num].x) return true;
^
0_0_29861192_29429.cpp: In function 'int main()':
0_0_29861192_29429.cpp:25:25: error: request for member 'size' in 's', which is of non-class type 'char [100007]'
for(int i=1;i<s.size();i++)
^
0_0_29861192_29429.cpp:48:39: error: request for member 'size' in 's', which is of non-class type 'char [100007]'
if(!check(pos+1,s.size(),t)) flag = 0;
^
0_0_29861192_29429.cpp:55:26: error: request for member 'size' in 's', which is of non-class type 'char [100007]'
sum += min(cnt[s.size()-1][t]-cnt[pos][t], r[t] - used[t]);
^
|