0_0_26343715_3166.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26343715_3166.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26343715_3166.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26343715_3166.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26343715_3166.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26343715_3166.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26343715_3166.cpp:7:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26343715_3166.cpp:12:9: error: 'pair' does not name a type
typedef pair PII;
^
0_0_26343715_3166.cpp:14:29: error: 'acos' was not declared in this scope
const double PI = acos(-1.0);
^
0_0_26343715_3166.cpp:18:1: error: 'vectorvt1' does not name a type
vectorvt1, vt2;
^
0_0_26343715_3166.cpp: In function 'void LCS(char*, char*, int (*)[1010])':
0_0_26343715_3166.cpp:39:27: error: 'memset' was not declared in this scope
memset(f, 0, sizeof(f));
^
0_0_26343715_3166.cpp:45:51: error: 'max' was not declared in this scope
f[i][j] = max(f[i-1][j], f[i][j-1]);
^
0_0_26343715_3166.cpp: At global scope:
0_0_26343715_3166.cpp:51:32: error: 'vector' has not been declared
void getCS(char* str, int len, vector& vt){
^
0_0_26343715_3166.cpp: In function 'void getCS(char*, int, int&)':
0_0_26343715_3166.cpp:62:16: error: request for member 'push_back' in 'vt', which is of non-class type 'int'
vt.push_back(MP(i, p-1));
^
0_0_26343715_3166.cpp:62:35: error: 'make_pair' was not declared in this scope
vt.push_back(MP(i, p-1));
^
0_0_26343715_3166.cpp: In function 'int main()':
0_0_26343715_3166.cpp:72:23: error: 'scanf' was not declared in this scope
scanf("%d", &nCase);
^
0_0_26343715_3166.cpp:76:26: error: 'strlen' was not declared in this scope
len1 = strlen(A+1);
^
0_0_26343715_3166.cpp:84:9: error: 'vt1' was not declared in this scope
vt1.clear();
^
0_0_26343715_3166.cpp:85:9: error: 'vt2' was not declared in this scope
vt2.clear();
^
0_0_26343715_3166.cpp:96:35: error: 'max' was not declared in this scope
ans = max(ans, tmp);
^
0_0_26343715_3166.cpp:99:43: error: 'printf' was not declared in this scope
printf("Case #%d: %d\n",cas++, ans);
^
|