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_15385406_22689.cpp:6:1: error: 'LL' does not name a type
 LL c[1002][1002] ,ans[1002];
 ^
0_0_15385406_22689.cpp: In function 'void init()':
0_0_15385406_22689.cpp:11:28: error: 'c' was not declared in this scope
   for(i = 0;i <= 1001;i++) c[i][0] = 1,c[i][i] = 1;
                            ^
0_0_15385406_22689.cpp:14:5: error: 'c' was not declared in this scope
     c[i][j] = (c[i - 1][j - 1] + c[i - 1][j])%mod;
     ^
0_0_15385406_22689.cpp: In function 'int main()':
0_0_15385406_22689.cpp:33:12: error: 'ans' was not declared in this scope
     memset(ans , 0 , sizeof(ans));
            ^
0_0_15385406_22689.cpp:41:23: error: 'c' was not declared in this scope
           ans[i] += ((c[num[j]][k] * c[n - num[j]][i - k])%mod) * ((1<<j)%mod), ans[i] %= mod;//!!!!!
                       ^


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-11-26 02:43:52, Gzip enabled