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_36699872_12280.cpp:7:11: error: 'N' was not declared in this scope
 int n,k,a[N],pw[N]={1},dp[N][N][2];
           ^
0_0_36699872_12280.cpp:7:17: error: 'N' was not declared in this scope
 int n,k,a[N],pw[N]={1},dp[N][N][2];
                 ^
0_0_36699872_12280.cpp:7:27: error: 'N' was not declared in this scope
 int n,k,a[N],pw[N]={1},dp[N][N][2];
                           ^
0_0_36699872_12280.cpp:7:30: error: 'N' was not declared in this scope
 int n,k,a[N],pw[N]={1},dp[N][N][2];
                              ^
0_0_36699872_12280.cpp: In function 'void init()':
0_0_36699872_12280.cpp:11:15: error: 'N' was not declared in this scope
 for(int i=1;i<N;i++)
               ^
0_0_36699872_12280.cpp:12:1: error: 'pw' was not declared in this scope
 pw[i]=pw[i-1]+pw[i-1],pw[i]%=M;
 ^
0_0_36699872_12280.cpp:12:30: error: 'M' was not declared in this scope
 pw[i]=pw[i-1]+pw[i-1],pw[i]%=M;
                              ^
0_0_36699872_12280.cpp: At global scope:
0_0_36699872_12280.cpp:15:1: error: 'LL' does not name a type
 LL solve(int i,int pre,int len)
 ^
0_0_36699872_12280.cpp: In function 'int main()':
0_0_36699872_12280.cpp:34:12: error: 'a' was not declared in this scope
 scanf("%d",a+i),a[i]++;
            ^
0_0_36699872_12280.cpp:35:8: error: 'dp' was not declared in this scope
 memset(dp,-1,sizeof(dp));
        ^
0_0_36699872_12280.cpp:36:18: 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-18 22:02:58, Gzip enabled