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_36287578_13549.cpp:109:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36287578_13549.cpp:109:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_36287578_13549.cpp:111:8: error: redefinition of 'struct s'
 struct s{
        ^
0_0_36287578_13549.cpp:3:8: error: previous definition of 'struct s'
 struct s{
        ^
0_0_36287578_13549.cpp:115:12: error: invalid type in declaration before ';' token
 }g[1000005];
            ^
0_0_36287578_13549.cpp:115:12: error: conflicting declaration 'int g [1000005]'
0_0_36287578_13549.cpp:7:2: note: previous declaration as 's g [1000005]'
 }g[1000005];
  ^
0_0_36287578_13549.cpp:116:15: error: redefinition of 'int fa [1000005]'
 int fa[1000005];
               ^
0_0_36287578_13549.cpp:8:5: note: 'int fa [1000005]' previously declared here
 int fa[1000005];
     ^
0_0_36287578_13549.cpp: In function 'int cmp(s, s)':
0_0_36287578_13549.cpp:117:5: error: redefinition of 'int cmp(s, s)'
 int cmp(s s1,s s2){
     ^
0_0_36287578_13549.cpp:9:5: note: 'int cmp(s, s)' previously defined here
 int cmp(s s1,s s2){
     ^
0_0_36287578_13549.cpp: At global scope:
0_0_36287578_13549.cpp:120:16: error: redefinition of 'int Rank [100005]'
 int Rank[100005];
                ^
0_0_36287578_13549.cpp:12:5: note: 'int Rank [100005]' previously declared here
 int Rank[100005];
     ^
0_0_36287578_13549.cpp: In function 'int find(int)':
0_0_36287578_13549.cpp:121:5: error: redefinition of 'int find(int)'
 int find(int a){
     ^
0_0_36287578_13549.cpp:13:5: note: 'int find(int)' previously defined here
 int find(int a){
     ^
0_0_36287578_13549.cpp: In function 'int main()':
0_0_36287578_13549.cpp:127:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_36287578_13549.cpp:19: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-10-01 15:12:57, Gzip enabled