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_13809996_29761.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809996_29761.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809996_29761.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809996_29761.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809996_29761.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809996_29761.cpp: In function 'bool bfs()':
0_0_13809996_29761.cpp:22:2: error: 'queue' was not declared in this scope
  queue Q;
  ^
0_0_13809996_29761.cpp:24:2: error: expected ';' before 'memset'
  memset(vis, 0, sizeof(vis));
  ^
0_0_13809996_29761.cpp:24:28: error: 'memset' was not declared in this scope
  memset(vis, 0, sizeof(vis));
                            ^
0_0_13809996_29761.cpp:24:29: error: expected ')' before ';' token
  memset(vis, 0, sizeof(vis));
                             ^
0_0_13809996_29761.cpp:25:2: error: 'Q' was not declared in this scope
  Q.push(s);
  ^
0_0_13809996_29761.cpp:34:14: error: expected ')' before 'd'
    if (d[v]  d[u] + 1) {
              ^
0_0_13809996_29761.cpp:46:30: error: 'memset' was not declared in this scope
  memset(mark, 0, sizeof(mark));
                              ^
0_0_13809996_29761.cpp: In function 'void dfs(int)':
0_0_13809996_29761.cpp:61:14: error: expected ')' before 'd'
    if (d[v]  d[s])
              ^
0_0_13809996_29761.cpp: In function 'int main()':
0_0_13809996_29761.cpp:70:30: error: 'scanf' was not declared in this scope
  while (~scanf("%d%d", &n, &m)) {
                              ^
0_0_13809996_29761.cpp:71:34: error: 'memset' was not declared in this scope
   memset(first, -1, sizeof(first));
                                  ^
0_0_13809996_29761.cpp:80:20: error: 'printf' was not declared in this scope
    printf("%d\n", n);
                    ^
0_0_13809996_29761.cpp:89:21: error: 'printf' was not declared in this scope
   printf("%d\n", ans);
                     ^


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-30 06:00:30, Gzip enabled