0_0_27004058_26909.cpp:2:1: error: 'bitset' does not name a type
bitset<1005>b[11];
^
0_0_27004058_26909.cpp:4:1: error: 'bitset' does not name a type
bitset<1005>ans;
^
0_0_27004058_26909.cpp: In function 'int main()':
0_0_27004058_26909.cpp:14:11: error: 'cin' was not declared in this scope
while(cin>>n)
^
0_0_27004058_26909.cpp:20:13: error: 'b' was not declared in this scope
b[i].reset();
^
0_0_27004058_26909.cpp:28:26: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_27004058_26909.cpp:38:17: error: 'b' was not declared in this scope
b[k].set(i);
^
0_0_27004058_26909.cpp:44:17: error: 'getchar' was not declared in this scope
getchar();
^
0_0_27004058_26909.cpp:46:15: error: 'gets' was not declared in this scope
gets(s);
^
0_0_27004058_26909.cpp:48:9: error: 'ans' was not declared in this scope
ans.reset();
^
0_0_27004058_26909.cpp:50:27: error: 'strlen' was not declared in this scope
int len = strlen(s);
^
0_0_27004058_26909.cpp:60:18: error: 'b' was not declared in this scope
ans&=b[s[i]-'0'];
^
0_0_27004058_26909.cpp:70:29: error: 'puts' was not declared in this scope
puts(s+i+1-n);
^
|