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_21851333_31974.cpp:14:19: error: stray '#' in program
   int v = g[u][i];#include<stdio.h>
                   ^
0_0_21851333_31974.cpp: In function 'void dfs(int, int)':
0_0_21851333_31974.cpp:14:20: error: 'include' was not declared in this scope
   int v = g[u][i];#include<stdio.h>
                    ^
0_0_21851333_31974.cpp:14:28: error: 'stdio' was not declared in this scope
   int v = g[u][i];#include<stdio.h>
                            ^
0_0_21851333_31974.cpp:19:1: error: expected primary-expression before 'using'
 using namespace std;
 ^
0_0_21851333_31974.cpp:24:22: error: a function-definition is not allowed here before '{' token
 void dfs(int s,int u){
                      ^
0_0_21851333_31974.cpp:113:1: error: expected '}' at end of input
 }
 ^
0_0_21851333_31974.cpp:113:1: error: expected '}' at end of input


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-12-05 10:17:00, Gzip enabled