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_38573547_2593.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_38573547_2593.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_38573547_2593.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_38573547_2593.cpp: In function 'bool dfs(int)':
0_0_38573547_2593.cpp:12:14: error: expected ';' before '{' token
 for(int i=0;i{
              ^
              ;
0_0_38573547_2593.cpp:12:14: error: expected primary-expression before '{' token
0_0_38573547_2593.cpp:12:14: error: expected ')' before '{' token
 for(int i=0;i{
    ~         ^
              )
0_0_38573547_2593.cpp:16:10: error: expected ')' before '{' token
 if(val[i] {
   ~      ^~
          )
0_0_38573547_2593.cpp:21:13: error: 'j' was not declared in this scope
 for(int j=0;j {
             ^
0_0_38573547_2593.cpp: In function 'bool Yes()':
0_0_38573547_2593.cpp:35:1: error: 'memset' was not declared in this scope
 memset(val,0,sizeof(val));
 ^~~~~~
0_0_38573547_2593.cpp:35:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38573547_2593.cpp:1:1:
+#include <cstring>
 #include
0_0_38573547_2593.cpp:35:1:
 memset(val,0,sizeof(val));
 ^~~~~~
0_0_38573547_2593.cpp:36:10: error: expected ';' before '{' token
 for(i=0;i {
          ^~
          ;
0_0_38573547_2593.cpp:36:11: error: expected primary-expression before '{' token
 for(i=0;i {
           ^
0_0_38573547_2593.cpp:36:10: error: expected ')' before '{' token
 for(i=0;i {
    ~     ^~
          )
0_0_38573547_2593.cpp: In function 'int main()':
0_0_38573547_2593.cpp:44:7: error: 'cin' was not declared in this scope
 while(cin>>n>>m)
       ^~~
0_0_38573547_2593.cpp:44:7: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_38573547_2593.cpp:1:1:
+#include <iostream>
 #include
0_0_38573547_2593.cpp:44:7:
 while(cin>>n>>m)
       ^~~
0_0_38573547_2593.cpp:46:1: error: 'memset' was not declared in this scope
 memset(map,0,sizeof(map));
 ^~~~~~
0_0_38573547_2593.cpp:46:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38573547_2593.cpp:47:14: error: expected ';' before '{' token
 for(int i=0;i {
              ^~
              ;
0_0_38573547_2593.cpp:47:15: error: expected primary-expression before '{' token
 for(int i=0;i {
               ^
0_0_38573547_2593.cpp:47:14: error: expected ')' before '{' token
 for(int i=0;i {
    ~         ^~
              )
0_0_38573547_2593.cpp:48:14: error: expected ';' before '{' token
 for(int j=0;j {
              ^~
              ;
0_0_38573547_2593.cpp:48:15: error: expected primary-expression before '{' token
 for(int j=0;j {
               ^
0_0_38573547_2593.cpp:48:14: error: expected ')' before '{' token
 for(int j=0;j {
    ~         ^~
              )
0_0_38573547_2593.cpp:49:1: error: 'scanf' was not declared in this scope
 scanf("%d",&map[i][j]);
 ^~~~~
0_0_38573547_2593.cpp:52:14: error: expected ';' before 'if'
 for(int i=0;i if(Yes())
              ^~~
              ;
0_0_38573547_2593.cpp:52:15: error: expected primary-expression before 'if'
 for(int i=0;i if(Yes())
               ^~
0_0_38573547_2593.cpp:52:14: error: expected ')' before 'if'
 for(int i=0;i if(Yes())
    ~         ^~~
              )
0_0_38573547_2593.cpp:53:1: error: 'printf' was not declared in this scope
 printf("YES");
 ^~~~~~
0_0_38573547_2593.cpp:53:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_38573547_2593.cpp:1:1:
+#include <cstdio>
 #include
0_0_38573547_2593.cpp:53:1:
 printf("YES");
 ^~~~~~
0_0_38573547_2593.cpp:55:1: error: 'printf' was not declared in this scope
 printf("NO");
 ^~~~~~
0_0_38573547_2593.cpp:55:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?


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-23 22:51:24, Gzip enabled