0_0_21844078_18847.cpp:3:1: error: 'uisng' does not name a type
uisng namespace std;
^
0_0_21844078_18847.cpp:6:16: error: 'MaxN' was not declared in this scope
int T, n, k, a[MaxN];
^
0_0_21844078_18847.cpp:7:8: error: 'MaxN' was not declared in this scope
char b[MaxN];
^
0_0_21844078_18847.cpp:8:1: error: 'bitset' does not name a type
bitset<MaxM> Right, Left;
^
0_0_21844078_18847.cpp: In function 'void solve()':
0_0_21844078_18847.cpp:14:16: error: 'b' was not declared in this scope
switch(b[i])
^
0_0_21844078_18847.cpp:17:19: error: 'a' was not declared in this scope
rmax+=a[i];
^
0_0_21844078_18847.cpp:31:20: error: 'b' was not declared in this scope
switch(b[i])
^
0_0_21844078_18847.cpp:34:17: error: 'Right' was not declared in this scope
Right |= (Right<<a[i]);
^
0_0_21844078_18847.cpp:34:34: error: 'a' was not declared in this scope
Right |= (Right<<a[i]);
^
0_0_21844078_18847.cpp:35:17: error: 'Left' was not declared in this scope
Left |= (Left <<a[i]);
^
0_0_21844078_18847.cpp:44:29: error: 'Right' was not declared in this scope
if(k==0 || (k>0 && Right.test(k)) || (k<0 && Left.test(-k)) ) puts("yes");
^
0_0_21844078_18847.cpp:44:55: error: 'Left' was not declared in this scope
if(k==0 || (k>0 && Right.test(k)) || (k<0 && Left.test(-k)) ) puts("yes");
^
0_0_21844078_18847.cpp: In function 'int main()':
0_0_21844078_18847.cpp:74:11: error: 'read' was not declared in this scope
read(T);
^
0_0_21844078_18847.cpp:78:9: error: 'Left' was not declared in this scope
Left.reset();
^
0_0_21844078_18847.cpp:79:9: error: 'Right' was not declared in this scope
Right.reset();
^
0_0_21844078_18847.cpp:82:36: error: 'a' was not declared in this scope
for(int i=1;i<=n;i++) read(a[i]);
^
0_0_21844078_18847.cpp:83:45: error: 'b' was not declared in this scope
for(int i=1;i<=n;i++) scanf(" %c", &b[i]);
^
|