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_32248957_9542.cpp:1:2: error: stray '#' in program
 q#include <bits/stdc++.h>
  ^
0_0_32248957_9542.cpp:1:1: error: 'q' does not name a type
 q#include <bits/stdc++.h>
 ^
0_0_32248957_9542.cpp: In function 'int bfs(Node)':
0_0_32248957_9542.cpp:20:2: error: 'queue' was not declared in this scope
  queue<Node>q;
  ^
0_0_32248957_9542.cpp:20:12: error: expected primary-expression before '>' token
  queue<Node>q;
            ^
0_0_32248957_9542.cpp:20:13: error: 'q' was not declared in this scope
  queue<Node>q;
             ^


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-02 04:20:04, Gzip enabled