0_0_36699871_17464.cpp:6:11: error: 'N' was not declared in this scope
int n,k,a[N],pw[N]={1};
^
0_0_36699871_17464.cpp:6:17: error: 'N' was not declared in this scope
int n,k,a[N],pw[N]={1};
^
0_0_36699871_17464.cpp:7:17: error: 'N' was not declared in this scope
map<int,int> dp[N][N];
^
0_0_36699871_17464.cpp:7:20: error: 'N' was not declared in this scope
map<int,int> dp[N][N];
^
0_0_36699871_17464.cpp: In function 'void init()':
0_0_36699871_17464.cpp:11:16: error: 'N' was not declared in this scope
for(int i=1;i<N;i++)
^
0_0_36699871_17464.cpp:12:3: error: 'pw' was not declared in this scope
pw[i]=pw[i-1]+pw[i-1],pw[i]%=M;
^
0_0_36699871_17464.cpp:12:32: error: 'M' was not declared in this scope
pw[i]=pw[i-1]+pw[i-1],pw[i]%=M;
^
0_0_36699871_17464.cpp: At global scope:
0_0_36699871_17464.cpp:15:1: error: 'LL' does not name a type
LL solve(int i,int pre,int len)
^
0_0_36699871_17464.cpp: In function 'int main()':
0_0_36699871_17464.cpp:36:15: error: 'a' was not declared in this scope
scanf("%d",a+i),a[i]++;
^
0_0_36699871_17464.cpp:39:5: error: 'dp' was not declared in this scope
dp[i][j].clear();
^
0_0_36699871_17464.cpp:40:20: error: 'solve' was not declared in this scope
cout<<solve(1,k,0)<<endl;
^
|