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_31135874_12120.cpp:16:18: error: expected primary-expression before ';' token
 int ans[310][55]=; 
                  ^
0_0_31135874_12120.cpp:19:11: error: redefinition of 'const int S'
 const int S = 8; //随机算法判定次数一般 8 ~ 10 就够了
           ^
0_0_31135874_12120.cpp:17:11: note: 'const int S' previously defined here
 const int S = 8; //随机算法判定次数一般 8 ~ 10 就够了
           ^
0_0_31135874_12120.cpp:20:11: error: redefinition of 'const int md'
 const int md=1e7;
           ^
0_0_31135874_12120.cpp:18:11: note: 'const int md' previously defined here
 const int md=1e7;
           ^
0_0_31135874_12120.cpp:114:11: error: redefinition of 'const int md'
 const int md=1e7;
           ^
0_0_31135874_12120.cpp:18:11: note: 'const int md' previously defined here
 const int md=1e7;
           ^
0_0_31135874_12120.cpp:115:15: error: conflicting declaration 'int pri [71428585]'
 int pri[maxn/7],cnt=0;
               ^
0_0_31135874_12120.cpp:78:5: note: previous declaration as 'int pri [3000]'
 int pri[3000],cnt=0;
     ^
0_0_31135874_12120.cpp:115:17: error: redefinition of 'int cnt'
 int pri[maxn/7],cnt=0;
                 ^
0_0_31135874_12120.cpp:78:15: note: 'int cnt' previously defined here
 int pri[3000],cnt=0;
               ^
0_0_31135874_12120.cpp:116:14: error: conflicting declaration 'bool vis [500000100]'
 bool vis[maxn];
              ^
0_0_31135874_12120.cpp:79:6: note: previous declaration as 'bool vis [3000]'
 bool vis[3000];
      ^
0_0_31135874_12120.cpp: In function 'void getpri()':
0_0_31135874_12120.cpp:117:6: error: redefinition of 'void getpri()'
 void getpri(){
      ^
0_0_31135874_12120.cpp:80:6: note: 'void getpri()' previously defined here
 void getpri(){
      ^
0_0_31135874_12120.cpp: At global scope:
0_0_31135874_12120.cpp:127:16: error: redefinition of 'int ans [310][55]'
 int ans[310][55];
                ^
0_0_31135874_12120.cpp:16:5: note: 'int ans [310][55]' previously defined here
 int ans[310][55]=; 
     ^
0_0_31135874_12120.cpp: In function 'int main()':
0_0_31135874_12120.cpp:129:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_31135874_12120.cpp:90: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:17:17, Gzip enabled