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_26029565_22662.cpp:35:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_26029565_22662.cpp:35:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_26029565_22662.cpp:40:11: error: redefinition of 'const int maxn'
 const int maxn = 2e7 + 10;
           ^
0_0_26029565_22662.cpp:6:11: note: 'const int maxn' previously defined here
 const int maxn = 2e7 + 10;
           ^
0_0_26029565_22662.cpp:41:13: error: redefinition of 'int phi [20000010]'
 int phi[maxn],ans[maxn];
             ^
0_0_26029565_22662.cpp:7:5: note: 'int phi [20000010]' previously declared here
 int phi[maxn],ans[maxn];
     ^
0_0_26029565_22662.cpp:41:23: error: redefinition of 'int ans [20000010]'
 int phi[maxn],ans[maxn];
                       ^
0_0_26029565_22662.cpp:7:15: note: 'int ans [20000010]' previously declared here
 int phi[maxn],ans[maxn];
               ^
0_0_26029565_22662.cpp: In function 'void init()':
0_0_26029565_22662.cpp:42:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_26029565_22662.cpp:8:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_26029565_22662.cpp: In function 'int main()':
0_0_26029565_22662.cpp:62:5: error: redefinition of 'int main()'
 int main(){ 
     ^
0_0_26029565_22662.cpp:28: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-16 11:26:54, Gzip enabled