0_0_21021689_9522.cpp: In member function 'void Array::fold_R(int)':
0_0_21021689_9522.cpp:58:21: error: 'fold_L' was not declared in this scope
fold_L(n - k);
^
0_0_21021689_9522.cpp: In function 'int main()':
0_0_21021689_9522.cpp:76:21: error: expected ')' before '}' token
switch(c}{
^
0_0_21021689_9522.cpp:76:21: error: expected primary-expression before '}' token
0_0_21021689_9522.cpp:77:17: error: case label ''L'' not within a switch statement
case 'L':A.fold_L(v);break;
^
0_0_21021689_9522.cpp:77:28: error: 'struct Array' has no member named 'fold_L'
case 'L':A.fold_L(v);break;
^
0_0_21021689_9522.cpp:78:17: error: case label ''R'' not within a switch statement
case 'R':A.fold_R(v);break;
^
0_0_21021689_9522.cpp:79:17: error: case label ''D'' not within a switch statement
case 'D':B.fold_L(v);break;
^
0_0_21021689_9522.cpp:79:28: error: 'struct Array' has no member named 'fold_L'
case 'D':B.fold_L(v);break;
^
0_0_21021689_9522.cpp:80:17: error: case label ''U'' not within a switch statement
case 'U':B.fold_R(v);break;
^
0_0_21021689_9522.cpp:83:35: error: 'cas' was not declared in this scope
printf("Case %d: %lld\n", cas++, A.ans * W + B.ans * L);
^
0_0_21021689_9522.cpp:83:50: error: 'W' was not declared in this scope
printf("Case %d: %lld\n", cas++, A.ans * W + B.ans * L);
^
0_0_21021689_9522.cpp:83:62: error: 'L' was not declared in this scope
printf("Case %d: %lld\n", cas++, A.ans * W + B.ans * L);
^
0_0_21021689_9522.cpp: At global scope:
0_0_21021689_9522.cpp:85:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_21021689_9522.cpp:86:1: error: expected declaration before '}' token
}
^
|