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_28971703_24348.cpp:23:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_28971703_24348.cpp:23:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_28971703_24348.cpp:26:19: error: redefinition of 'long long int vis [1005]'
 long long vis[1005];
                   ^
0_0_28971703_24348.cpp:4:11: note: 'long long int vis [1005]' previously declared here
 long long vis[1005];
           ^
0_0_28971703_24348.cpp:27:12: error: redefinition of 'char a [1000]'
 char a[1000];
            ^
0_0_28971703_24348.cpp:5:6: note: 'char a [1000]' previously declared here
 char a[1000];
      ^
0_0_28971703_24348.cpp: In function 'long long int dfs(int)':
0_0_28971703_24348.cpp:28:11: error: redefinition of 'long long int dfs(int)'
 long long dfs(int x){
           ^
0_0_28971703_24348.cpp:6:11: note: 'long long int dfs(int)' previously defined here
 long long dfs(int x){
           ^
0_0_28971703_24348.cpp: In function 'int main()':
0_0_28971703_24348.cpp:39:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_28971703_24348.cpp:17: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 12:25:31, Gzip enabled