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_26608045_26684.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26608045_26684.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26608045_26684.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26608045_26684.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26608045_26684.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26608045_26684.cpp:9:1: error: 'string' does not name a type
 string mp[N];
 ^
0_0_26608045_26684.cpp: In function 'int check(int, int)':
0_0_26608045_26684.cpp:22:44: error: 'mp' was not declared in this scope
  if (x >= 0 && x < n && y >= 0 && y < m && mp[x][y] != '*')
                                            ^
0_0_26608045_26684.cpp: In function 'void bfs()':
0_0_26608045_26684.cpp:29:2: error: 'priority_queue' was not declared in this scope
  priority_queue q;
  ^
0_0_26608045_26684.cpp:34:8: error: 'mp' was not declared in this scope
    if (mp[i][j] == '#')
        ^
0_0_26608045_26684.cpp:41:5: error: 'q' was not declared in this scope
     q.push(cur);
     ^
0_0_26608045_26684.cpp:50:5: error: 'q' was not declared in this scope
     q.push(cur);
     ^
0_0_26608045_26684.cpp:54:10: error: 'q' was not declared in this scope
  while (!q.empty())
          ^
0_0_26608045_26684.cpp:66:8: error: 'mp' was not declared in this scope
    if (mp[dx][dy] == '.')
        ^
0_0_26608045_26684.cpp:100:24: error: 'min' was not declared in this scope
     ans = min(ans, time);
                        ^
0_0_26608045_26684.cpp: In function 'int main()':
0_0_26608045_26684.cpp:106:17: error: 'cin' was not declared in this scope
  while (getline(cin, mp[0]) && mp[0][0] != '-')
                 ^
0_0_26608045_26684.cpp:106:22: error: 'mp' was not declared in this scope
  while (getline(cin, mp[0]) && mp[0][0] != '-')
                      ^
0_0_26608045_26684.cpp:106:27: error: 'getline' was not declared in this scope
  while (getline(cin, mp[0]) && mp[0][0] != '-')
                           ^
0_0_26608045_26684.cpp:114:30: error: 'memset' was not declared in this scope
   memset(vis, -1, sizeof(vis));
                              ^
0_0_26608045_26684.cpp:117:21: error: 'puts' was not declared in this scope
    puts("IMPOSSIBLE");
                     ^
0_0_26608045_26684.cpp:119:22: error: 'printf' was not declared in this scope
    printf("%d\n", ans);
                      ^


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-07-05 17:28:41, Gzip enabled