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_39163688_30625.cpp:1:2: error: stray '#' in program
    1 | /#include<bits/stdc++.h>
      |  ^
0_0_39163688_30625.cpp:1:1: error: expected unqualified-id before '/' token
    1 | /#include<bits/stdc++.h>
      | ^
0_0_39163688_30625.cpp: In function 'int bfs(node)':
0_0_39163688_30625.cpp:21:9: error: 'queue' was not declared in this scope
   21 |         queue<node>qq;
      |         ^~~~~
0_0_39163688_30625.cpp:21:19: error: expected primary-expression before '>' token
   21 |         queue<node>qq;
      |                   ^
0_0_39163688_30625.cpp:21:20: error: 'qq' was not declared in this scope
   21 |         queue<node>qq;
      |                    ^~
0_0_39163688_30625.cpp:23:9: error: 'memset' was not declared in this scope
   23 |         memset(dp,-1,sizeof(dp));
      |         ^~~~~~
0_0_39163688_30625.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | /#include<bits/stdc++.h>
0_0_39163688_30625.cpp:46:37: error: 'min' was not declared in this scope
   46 |                                 ans=min(ans,dp[next.x][next.y][next.s]);
      |                                     ^~~
0_0_39163688_30625.cpp: In function 'int main()':
0_0_39163688_30625.cpp:60:15: error: 'cin' was not declared in this scope
   60 |         while(cin>>row>>line)
      |               ^~~
0_0_39163688_30625.cpp:73:17: error: 'memset' was not declared in this scope
   73 |                 memset(state,0,sizeof(state));
      |                 ^~~~~~
0_0_39163688_30625.cpp:73:17: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_39163688_30625.cpp:80:17: error: 'cout' was not declared in this scope
   80 |                 cout<<bfs(s)<<endl;
      |                 ^~~~
0_0_39163688_30625.cpp:80:31: error: 'endl' was not declared in this scope
   80 |                 cout<<bfs(s)<<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-11-29 17:33:11, Gzip enabled