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_37380592_24404.cpp:1:1: error: stray '##' in program
 ##include <bits/stdc++.h>
 ^
0_0_37380592_24404.cpp:1:3: error: 'include' does not name a type
 ##include <bits/stdc++.h>
   ^
0_0_37380592_24404.cpp: In function 'void bfs(int, int)':
0_0_37380592_24404.cpp:15:5: error: 'queue' was not declared in this scope
     queue<node> q;
     ^
0_0_37380592_24404.cpp:15:15: error: expected primary-expression before '>' token
     queue<node> q;
               ^
0_0_37380592_24404.cpp:15:17: error: 'q' was not declared in this scope
     queue<node> q;
                 ^
0_0_37380592_24404.cpp:22:23: error: 'puts' was not declared in this scope
             puts("yes");
                       ^
0_0_37380592_24404.cpp:41:14: error: 'puts' was not declared in this scope
     puts("no");
              ^
0_0_37380592_24404.cpp: In function 'int main()':
0_0_37380592_24404.cpp:45:19: error: 'scanf' was not declared in this scope
     scanf("%d", &t);
                   ^
0_0_37380592_24404.cpp:54:34: error: 'memset' was not declared in this scope
         memset(vis, 0, sizeof vis);
                                  ^


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-25 13:20:29, Gzip enabled