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_36759893_11360.cpp:61:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36759893_11360.cpp:121:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36759893_11360.cpp:181:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36759893_11360.cpp:241:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36759893_11360.cpp:301:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36759893_11360.cpp:361:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36759893_11360.cpp:61:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_36759893_11360.cpp:66:11: error: redefinition of 'const int ms'
 const int ms=2e6+9;
           ^
0_0_36759893_11360.cpp:6:11: note: 'const int ms' previously defined here
 const int ms=2e6+9;
           ^
0_0_36759893_11360.cpp:68:13: error: redefinition of 'int prime [2000009]'
 int prime[ms],a[ms],cnt;
             ^
0_0_36759893_11360.cpp:8:5: note: 'int prime [2000009]' previously declared here
 int prime[ms],a[ms],cnt;
     ^
0_0_36759893_11360.cpp:68:19: error: redefinition of 'int a [2000009]'
 int prime[ms],a[ms],cnt;
                   ^
0_0_36759893_11360.cpp:8:15: note: 'int a [2000009]' previously declared here
 int prime[ms],a[ms],cnt;
               ^
0_0_36759893_11360.cpp:68:21: error: redefinition of 'int cnt'
 int prime[ms],a[ms],cnt;
                     ^
0_0_36759893_11360.cpp:8:21: note: 'int cnt' previously declared here
 int prime[ms],a[ms],cnt;
                     ^
0_0_36759893_11360.cpp:69:12: error: redefinition of 'bool isp [2000009]'
 bool isp[ms];
            ^
0_0_36759893_11360.cpp:9:6: note: 'bool isp [2000009]' previously declared here
 bool isp[ms];
      ^
0_0_36759893_11360.cpp: In function 'void Ouler()':
0_0_36759893_11360.cpp:71:6: error: redefinition of 'void Ouler()'
 void Ouler()
      ^
0_0_36759893_11360.cpp:11:6: note: 'void Ouler()' previously defined here
 void Ouler()
      ^
0_0_36759893_11360.cpp: At global scope:
0_0_36759893_11360.cpp:86:5: error: redefinition of 'int n'
 int n,m,p[ms],g[ms],f[ms];
     ^
0_0_36759893_11360.cpp:26:5: note: 'int n' previously declared here
 int n,m,p[ms],g[ms],f[ms];
     ^
0_0_36759893_11360.cpp:86:7: error: redefinition of 'int m'
 int n,m,p[ms],g[ms],f[ms];
       ^
0_0_36759893_11360.cpp:26:7: note: 'int m' previously declared here
 int n,m,p[ms],g[ms],f[ms];
       ^
0_0_36759893_11360.cpp:86:13: error: redefinition of 'int p [2000009]'
 int n,m,p[ms],g[ms],f[ms];
             ^
0_0_36759893_11360.cpp:26:9: note: 'int p [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
         ^
0_0_36759893_11360.cpp:86:19: error: redefinition of 'int g [2000009]'
 int n,m,p[ms],g[ms],f[ms];
                   ^
0_0_36759893_11360.cpp:26:15: note: 'int g [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
               ^
0_0_36759893_11360.cpp:86:25: error: redefinition of 'int f [2000009]'
 int n,m,p[ms],g[ms],f[ms];
                         ^
0_0_36759893_11360.cpp:26:21: note: 'int f [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
                     ^
0_0_36759893_11360.cpp: In function 'void solve()':
0_0_36759893_11360.cpp:88:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_36759893_11360.cpp:28:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_36759893_11360.cpp: In function 'int main()':
0_0_36759893_11360.cpp:110:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36759893_11360.cpp:50:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_36759893_11360.cpp: At global scope:
0_0_36759893_11360.cpp:121:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_36759893_11360.cpp:126:11: error: redefinition of 'const int ms'
 const int ms=2e6+9;
           ^
0_0_36759893_11360.cpp:6:11: note: 'const int ms' previously defined here
 const int ms=2e6+9;
           ^
0_0_36759893_11360.cpp:128:13: error: redefinition of 'int prime [2000009]'
 int prime[ms],a[ms],cnt;
             ^
0_0_36759893_11360.cpp:8:5: note: 'int prime [2000009]' previously declared here
 int prime[ms],a[ms],cnt;
     ^
0_0_36759893_11360.cpp:128:19: error: redefinition of 'int a [2000009]'
 int prime[ms],a[ms],cnt;
                   ^
0_0_36759893_11360.cpp:8:15: note: 'int a [2000009]' previously declared here
 int prime[ms],a[ms],cnt;
               ^
0_0_36759893_11360.cpp:128:21: error: redefinition of 'int cnt'
 int prime[ms],a[ms],cnt;
                     ^
0_0_36759893_11360.cpp:8:21: note: 'int cnt' previously declared here
 int prime[ms],a[ms],cnt;
                     ^
0_0_36759893_11360.cpp:129:12: error: redefinition of 'bool isp [2000009]'
 bool isp[ms];
            ^
0_0_36759893_11360.cpp:9:6: note: 'bool isp [2000009]' previously declared here
 bool isp[ms];
      ^
0_0_36759893_11360.cpp: In function 'void Ouler()':
0_0_36759893_11360.cpp:131:6: error: redefinition of 'void Ouler()'
 void Ouler()
      ^
0_0_36759893_11360.cpp:11:6: note: 'void Ouler()' previously defined here
 void Ouler()
      ^
0_0_36759893_11360.cpp: At global scope:
0_0_36759893_11360.cpp:146:5: error: redefinition of 'int n'
 int n,m,p[ms],g[ms],f[ms];
     ^
0_0_36759893_11360.cpp:26:5: note: 'int n' previously declared here
 int n,m,p[ms],g[ms],f[ms];
     ^
0_0_36759893_11360.cpp:146:7: error: redefinition of 'int m'
 int n,m,p[ms],g[ms],f[ms];
       ^
0_0_36759893_11360.cpp:26:7: note: 'int m' previously declared here
 int n,m,p[ms],g[ms],f[ms];
       ^
0_0_36759893_11360.cpp:146:13: error: redefinition of 'int p [2000009]'
 int n,m,p[ms],g[ms],f[ms];
             ^
0_0_36759893_11360.cpp:26:9: note: 'int p [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
         ^
0_0_36759893_11360.cpp:146:19: error: redefinition of 'int g [2000009]'
 int n,m,p[ms],g[ms],f[ms];
                   ^
0_0_36759893_11360.cpp:26:15: note: 'int g [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
               ^
0_0_36759893_11360.cpp:146:25: error: redefinition of 'int f [2000009]'
 int n,m,p[ms],g[ms],f[ms];
                         ^
0_0_36759893_11360.cpp:26:21: note: 'int f [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
                     ^
0_0_36759893_11360.cpp: In function 'void solve()':
0_0_36759893_11360.cpp:148:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_36759893_11360.cpp:28:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_36759893_11360.cpp: In function 'int main()':
0_0_36759893_11360.cpp:170:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36759893_11360.cpp:50:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_36759893_11360.cpp: At global scope:
0_0_36759893_11360.cpp:181:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_36759893_11360.cpp:186:11: error: redefinition of 'const int ms'
 const int ms=2e6+9;
           ^
0_0_36759893_11360.cpp:6:11: note: 'const int ms' previously defined here
 const int ms=2e6+9;
           ^
0_0_36759893_11360.cpp:188:13: error: redefinition of 'int prime [2000009]'
 int prime[ms],a[ms],cnt;
             ^
0_0_36759893_11360.cpp:8:5: note: 'int prime [2000009]' previously declared here
 int prime[ms],a[ms],cnt;
     ^
0_0_36759893_11360.cpp:188:19: error: redefinition of 'int a [2000009]'
 int prime[ms],a[ms],cnt;
                   ^
0_0_36759893_11360.cpp:8:15: note: 'int a [2000009]' previously declared here
 int prime[ms],a[ms],cnt;
               ^
0_0_36759893_11360.cpp:188:21: error: redefinition of 'int cnt'
 int prime[ms],a[ms],cnt;
                     ^
0_0_36759893_11360.cpp:8:21: note: 'int cnt' previously declared here
 int prime[ms],a[ms],cnt;
                     ^
0_0_36759893_11360.cpp:189:12: error: redefinition of 'bool isp [2000009]'
 bool isp[ms];
            ^
0_0_36759893_11360.cpp:9:6: note: 'bool isp [2000009]' previously declared here
 bool isp[ms];
      ^
0_0_36759893_11360.cpp: In function 'void Ouler()':
0_0_36759893_11360.cpp:191:6: error: redefinition of 'void Ouler()'
 void Ouler()
      ^
0_0_36759893_11360.cpp:11:6: note: 'void Ouler()' previously defined here
 void Ouler()
      ^
0_0_36759893_11360.cpp: At global scope:
0_0_36759893_11360.cpp:206:5: error: redefinition of 'int n'
 int n,m,p[ms],g[ms],f[ms];
     ^
0_0_36759893_11360.cpp:26:5: note: 'int n' previously declared here
 int n,m,p[ms],g[ms],f[ms];
     ^
0_0_36759893_11360.cpp:206:7: error: redefinition of 'int m'
 int n,m,p[ms],g[ms],f[ms];
       ^
0_0_36759893_11360.cpp:26:7: note: 'int m' previously declared here
 int n,m,p[ms],g[ms],f[ms];
       ^
0_0_36759893_11360.cpp:206:13: error: redefinition of 'int p [2000009]'
 int n,m,p[ms],g[ms],f[ms];
             ^
0_0_36759893_11360.cpp:26:9: note: 'int p [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
         ^
0_0_36759893_11360.cpp:206:19: error: redefinition of 'int g [2000009]'
 int n,m,p[ms],g[ms],f[ms];
                   ^
0_0_36759893_11360.cpp:26:15: note: 'int g [2000009]' previously declared here
 int n,m,p[ms],g[ms],f[ms];
               ^
0_0_36759893_11360.cpp:206:25: error: redefinition of 'int f 


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-06-26 21:08:33, Gzip enabled