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_36271164_2088.cpp:1:2: error: invalid preprocessing directive #ihclude
 #ihclude <bits/stdc++.h>
  ^
0_0_36271164_2088.cpp: In function 'int bfs(int, int)':
0_0_36271164_2088.cpp:9:2: error: 'queue' was not declared in this scope
  queue<giao> q;
  ^
0_0_36271164_2088.cpp:9:12: error: expected primary-expression before '>' token
  queue<giao> q;
            ^
0_0_36271164_2088.cpp:9:14: error: 'q' was not declared in this scope
  queue<giao> q;
              ^
0_0_36271164_2088.cpp:18:10: error: 'dx' was not declared in this scope
    t.x=x+dx[i],t.y=y+dy[i];
          ^
0_0_36271164_2088.cpp:18:22: error: 'dy' was not declared in this scope
    t.x=x+dx[i],t.y=y+dy[i];
                      ^
0_0_36271164_2088.cpp:19:14: error: 'check' was not declared in this scope
    if(check(t)){
              ^
0_0_36271164_2088.cpp: In function 'int main()':
0_0_36271164_2088.cpp:35:8: error: 'cin' was not declared in this scope
  while(cin>>n){
        ^
0_0_36271164_2088.cpp:42:3: error: 'cout' was not declared in this scope
   cout<<cnt<<endl;
   ^
0_0_36271164_2088.cpp:42:9: error: 'cnt' was not declared in this scope
   cout<<cnt<<endl;
         ^
0_0_36271164_2088.cpp:42:14: error: 'endl' was not declared in this scope
   cout<<cnt<<endl;
              ^


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-09-20 09:27:41, Gzip enabled