F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-05-24 20:35:28, Gzip enabled