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_21791496_4915.cpp:112:11: error: redefinition of 'const int maxn'
 const int maxn = 500 + 10;
           ^
0_0_21791496_4915.cpp:10:11: note: 'const int maxn' previously defined here
 const int maxn = 500 + 10;
           ^
0_0_21791496_4915.cpp:113:11: error: redefinition of 'const int mod'
 const int mod = 1e9 + 7;
           ^
0_0_21791496_4915.cpp:11:11: note: 'const int mod' previously defined here
 const int mod = 1e9 + 7;
           ^
0_0_21791496_4915.cpp:114:18: error: redefinition of 'const int prime [8]'
 const int prime[8] = {2, 3, 5, 7, 11, 13, 17, 19};
                  ^
0_0_21791496_4915.cpp:12:11: note: 'const int prime [8]' previously defined here
 const int prime[8] = {2, 3, 5, 7, 11, 13, 17, 19};
           ^
0_0_21791496_4915.cpp:115:20: error: redefinition of 'std::vector<int> A [510]'
 vector <int> A[maxn];
                    ^
0_0_21791496_4915.cpp:13:14: note: 'std::vector<int> A [510]' previously declared here
 vector <int> A[maxn];
              ^
0_0_21791496_4915.cpp:116:20: error: redefinition of 'llong dp [510][510]'
 llong dp[maxn][maxn];
                    ^
0_0_21791496_4915.cpp:14:7: note: 'llong dp [510][510]' previously declared here
 llong dp[maxn][maxn];
       ^
0_0_21791496_4915.cpp:117:5: error: redefinition of 'int n'
 int n, k;
     ^
0_0_21791496_4915.cpp:15:5: note: 'int n' previously declared here
 int n, k;
     ^
0_0_21791496_4915.cpp:117:8: error: redefinition of 'int k'
 int n, k;
        ^
0_0_21791496_4915.cpp:15:8: note: 'int k' previously declared here
 int n, k;
        ^
0_0_21791496_4915.cpp: In function 'void divide_factor(int)':
0_0_21791496_4915.cpp:119:6: error: redefinition of 'void divide_factor(int)'
 void divide_factor(int x)
      ^
0_0_21791496_4915.cpp:17:6: note: 'void divide_factor(int)' previously defined here
 void divide_factor(int x)
      ^
0_0_21791496_4915.cpp: In function 'void solve()':
0_0_21791496_4915.cpp:136:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_21791496_4915.cpp:34:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_21791496_4915.cpp: In function 'int main()':
0_0_21791496_4915.cpp:179:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21791496_4915.cpp:77: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-09-21 15:32:40, Gzip enabled