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_23535612_16258.cpp:75:11: error: redefinition of 'const int mod'
 const int mod=1e9+7;
           ^
0_0_23535612_16258.cpp:10:11: note: 'const int mod' previously defined here
 const int mod=1e9+7;
           ^
0_0_23535612_16258.cpp:76:5: error: redefinition of 'int t'
 int t;
     ^
0_0_23535612_16258.cpp:11:5: note: 'int t' previously declared here
 int t;
     ^
0_0_23535612_16258.cpp:77:5: error: redefinition of 'int n'
 int n,m,num,x;
     ^
0_0_23535612_16258.cpp:12:5: note: 'int n' previously declared here
 int n,m,num,x;
     ^
0_0_23535612_16258.cpp:77:7: error: redefinition of 'int m'
 int n,m,num,x;
       ^
0_0_23535612_16258.cpp:12:7: note: 'int m' previously declared here
 int n,m,num,x;
       ^
0_0_23535612_16258.cpp:77:9: error: redefinition of 'int num'
 int n,m,num,x;
         ^
0_0_23535612_16258.cpp:12:9: note: 'int num' previously declared here
 int n,m,num,x;
         ^
0_0_23535612_16258.cpp:77:13: error: redefinition of 'int x'
 int n,m,num,x;
             ^
0_0_23535612_16258.cpp:12:13: note: 'int x' previously declared here
 int n,m,num,x;
             ^
0_0_23535612_16258.cpp:78:18: error: redefinition of 'long long int make [55]'
 long long make[55],dp[55][8];///dp[i][j]代表执行到第i个开关,状态为j
                  ^
0_0_23535612_16258.cpp:13:11: note: 'long long int make [55]' previously declared here
 long long make[55],dp[55][8];///dp[i][j]代表执行到第i个开关,状态为j
           ^
0_0_23535612_16258.cpp:78:28: error: redefinition of 'long long int dp [55][8]'
 long long make[55],dp[55][8];///dp[i][j]代表执行到第i个开关,状态为j
                            ^
0_0_23535612_16258.cpp:13:20: note: 'long long int dp [55][8]' previously declared here
 long long make[55],dp[55][8];///dp[i][j]代表执行到第i个开关,状态为j
                    ^
0_0_23535612_16258.cpp: In function 'int main()':
0_0_23535612_16258.cpp:79:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23535612_16258.cpp:14: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-26 16:18:47, Gzip enabled