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_21799433_4274.cpp:59:12: error: redefinition of 'const int mod'
 const int  mod=1e9+7;
            ^
0_0_21799433_4274.cpp:13:12: note: 'const int mod' previously defined here
 const int  mod=1e9+7;
            ^
0_0_21799433_4274.cpp:60:18: error: redefinition of 'int dp [2005][2005]'
 int dp[2005][2005];
                  ^
0_0_21799433_4274.cpp:14:5: note: 'int dp [2005][2005]' previously declared here
 int dp[2005][2005];
     ^
0_0_21799433_4274.cpp: In function 'int Qpow(int, int, int)':
0_0_21799433_4274.cpp:61:5: error: redefinition of 'int Qpow(int, int, int)'
 int Qpow(int a, int b, int mo)
     ^
0_0_21799433_4274.cpp:15:5: note: 'int Qpow(int, int, int)' previously defined here
 int Qpow(int a, int b, int mo)
     ^
0_0_21799433_4274.cpp: In function 'int main(int, char**)':
0_0_21799433_4274.cpp:74:5: error: redefinition of 'int main(int, char**)'
 int main(int argc, char *argv[]) {
     ^
0_0_21799433_4274.cpp:28:5: note: 'int main(int, char**)' previously defined here
 int main(int argc, char *argv[]) {
     ^


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-12-01 09:12:18, Gzip enabled