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_38578079_13365.cpp:37:11: error: redefinition of 'const int N'
 const int N=109,P=1e9+7;
           ^
0_0_38578079_13365.cpp:6:11: note: 'const int N' previously defined here
 const int N=109,P=1e9+7;
           ^
0_0_38578079_13365.cpp:37:17: error: redefinition of 'const int P'
 const int N=109,P=1e9+7;
                 ^
0_0_38578079_13365.cpp:6:17: note: 'const int P' previously defined here
 const int N=109,P=1e9+7;
                 ^
0_0_38578079_13365.cpp:38:5: error: redefinition of 'int n'
 int n; char op[N];
     ^
0_0_38578079_13365.cpp:7:5: note: 'int n' previously declared here
 int n; char op[N];
     ^
0_0_38578079_13365.cpp:38:17: error: redefinition of 'char op [109]'
 int n; char op[N];
                 ^
0_0_38578079_13365.cpp:7:13: note: 'char op [109]' previously declared here
 int n; char op[N];
             ^~
0_0_38578079_13365.cpp:39:10: error: redefinition of 'int fac [109]'
 int fac[N],inv[N],f[N][N];
          ^
0_0_38578079_13365.cpp:8:5: note: 'int fac [109]' previously declared here
 int fac[N],inv[N],f[N][N];
     ^~~
0_0_38578079_13365.cpp:39:17: error: redefinition of 'int inv [109]'
 int fac[N],inv[N],f[N][N];
                 ^
0_0_38578079_13365.cpp:8:12: note: 'int inv [109]' previously declared here
 int fac[N],inv[N],f[N][N];
            ^~~
0_0_38578079_13365.cpp:39:25: error: redefinition of 'int f [109][109]'
 int fac[N],inv[N],f[N][N];
                         ^
0_0_38578079_13365.cpp:8:19: note: 'int f [109][109]' previously declared here
 int fac[N],inv[N],f[N][N];
                   ^
0_0_38578079_13365.cpp:40:6: error: redefinition of 'void solve()'
 void solve(){
      ^~~~~
0_0_38578079_13365.cpp:9:6: note: 'void solve()' previously defined here
 void solve(){
      ^~~~~
0_0_38578079_13365.cpp:55:5: error: redefinition of 'int main()'
 int main(){
     ^~~~
0_0_38578079_13365.cpp:24:5: note: 'int main()' previously defined here
 int main(){
     ^~~~


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-22 11:14:02, Gzip enabled