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_13807261_12953.cpp:6:10: error: stray '#' in program
 char map[1001][81];
          ^
0_0_13807261_12953.cpp:6:19: error: stray '#' in program
 char map[1001][81];
                   ^
0_0_13807261_12953.cpp:6:24: error: stray '#' in program
 char map[1001][81];
                        ^
0_0_13807261_12953.cpp:6:31: error: stray '#' in program
 char map[1001][81];
                               ^
0_0_13807261_12953.cpp:8:10: error: stray '#' in program
 void dfs(int i, int j)
          ^
0_0_13807261_12953.cpp:8:27: error: stray '#' in program
 void dfs(int i, int j)
                           ^
0_0_13807261_12953.cpp:9:2: error: stray '#' in program
 {
  ^
0_0_13807261_12953.cpp:10:9: error: stray '#' in program
     if (map[i][j] == '.') return;
         ^
0_0_13807261_12953.cpp:10:17: error: stray '#' in program
     if (map[i][j] == '.') return;
                 ^
0_0_13807261_12953.cpp:10:23: error: stray '#' in program
     if (map[i][j] == '.') return;
                       ^
0_0_13807261_12953.cpp:10:28: error: stray '#' in program
     if (map[i][j] == '.') return;
                            ^
0_0_13807261_12953.cpp:10:34: error: stray '#' in program
     if (map[i][j] == '.') return;
                                  ^
0_0_13807261_12953.cpp:10:46: error: stray '#' in program
     if (map[i][j] == '.') return;
                                              ^
0_0_13807261_12953.cpp:11:14: error: stray '#' in program
     else if (map[i][j] == '*')
              ^
0_0_13807261_12953.cpp:11:22: error: stray '#' in program
     else if (map[i][j] == '*')
                      ^
0_0_13807261_12953.cpp:11:28: error: stray '#' in program
     else if (map[i][j] == '*')
                            ^
0_0_13807261_12953.cpp:11:33: error: stray '#' in program
     else if (map[i][j] == '*')
                                 ^
0_0_13807261_12953.cpp:11:39: error: stray '#' in program
     else if (map[i][j] == '*')
                                       ^
0_0_13807261_12953.cpp:11:51: error: stray '#' in program
     else if (map[i][j] == '*')
                                                   ^
0_0_13807261_12953.cpp:12:6: error: stray '#' in program
     {
      ^
0_0_13807261_12953.cpp:14:13: error: stray '#' in program
         map[i][j] = '.';
             ^
0_0_13807261_12953.cpp:14:19: error: stray '#' in program
         map[i][j] = '.';
                   ^
0_0_13807261_12953.cpp:14:24: error: stray '#' in program
         map[i][j] = '.';
                        ^
0_0_13807261_12953.cpp:14:30: error: stray '#' in program
         map[i][j] = '.';
                              ^
0_0_13807261_12953.cpp:15:13: error: stray '#' in program
         dfs(i, j + 1);
             ^
0_0_13807261_12953.cpp:15:26: error: stray '#' in program
         dfs(i, j + 1);
                          ^
0_0_13807261_12953.cpp:16:13: error: stray '#' in program
         dfs(i, j - 1);
             ^
0_0_13807261_12953.cpp:16:26: error: stray '#' in program
         dfs(i, j - 1);
                          ^
0_0_13807261_12953.cpp:17:13: error: stray '#' in program
         dfs(i + 1, j);
             ^
0_0_13807261_12953.cpp:17:26: error: stray '#' in program
         dfs(i + 1, j);
                          ^
0_0_13807261_12953.cpp:18:13: error: stray '#' in program
         dfs(i - 1, j);
             ^
0_0_13807261_12953.cpp:18:26: error: stray '#' in program
         dfs(i - 1, j);
                          ^
0_0_13807261_12953.cpp:19:6: error: stray '#' in program
     }
      ^
0_0_13807261_12953.cpp:20:2: error: stray '#' in program
 }
  ^
0_0_13807261_12953.cpp:22:10: error: stray '#' in program
 int main()
          ^
0_0_13807261_12953.cpp:22:15: error: stray '#' in program
 int main()
               ^
0_0_13807261_12953.cpp:23:2: error: stray '#' in program
 {
  ^
0_0_13807261_12953.cpp:25:11: error: stray '#' in program
     scanf("%d%d", &h, &w);
           ^
0_0_13807261_12953.cpp:25:30: error: stray '#' in program
     scanf("%d%d", &h, &w);
                              ^
0_0_13807261_12953.cpp:26:10: error: stray '#' in program
     for (i = 1; i <= w; i++)
          ^
0_0_13807261_12953.cpp:26:33: error: stray '#' in program
     for (i = 1; i <= w; i++)
                                 ^
0_0_13807261_12953.cpp:27:6: error: stray '#' in program
     {
      ^
0_0_13807261_12953.cpp:28:17: error: stray '#' in program
         getchar();
                 ^
0_0_13807261_12953.cpp:28:22: error: stray '#' in program
         getchar();
                      ^
0_0_13807261_12953.cpp:29:14: error: stray '#' in program
         for (j = 1; j <= h; j++)
              ^
0_0_13807261_12953.cpp:29:37: error: stray '#' in program
         for (j = 1; j <= h; j++)
                                     ^
0_0_13807261_12953.cpp:30:10: error: stray '#' in program
         {
          ^
0_0_13807261_12953.cpp:31:19: error: stray '#' in program
             scanf("%c", &map[i][j]);
                   ^
0_0_13807261_12953.cpp:31:34: error: stray '#' in program
             scanf("%c", &map[i][j]);
                                  ^
0_0_13807261_12953.cpp:31:40: error: stray '#' in program
             scanf("%c", &map[i][j]);
                                        ^
0_0_13807261_12953.cpp:31:45: error: stray '#' in program
             scanf("%c", &map[i][j]);
                                             ^
0_0_13807261_12953.cpp:31:51: error: stray '#' in program
             scanf("%c", &map[i][j]);
                                                   ^
0_0_13807261_12953.cpp:31:56: error: stray '#' in program
             scanf("%c", &map[i][j]);
                                                        ^
0_0_13807261_12953.cpp:32:10: error: stray '#' in program
         }
          ^
0_0_13807261_12953.cpp:33:6: error: stray '#' in program
     }
      ^
0_0_13807261_12953.cpp:35:10: error: stray '#' in program
     for (i = 1; i <= w; i++)
          ^
0_0_13807261_12953.cpp:35:33: error: stray '#' in program
     for (i = 1; i <= w; i++)
                                 ^
0_0_13807261_12953.cpp:36:6: error: stray '#' in program
     {
      ^
0_0_13807261_12953.cpp:37:14: error: stray '#' in program
         for (j = 1; j <= h; j++)
              ^
0_0_13807261_12953.cpp:37:37: error: stray '#' in program
         for (j = 1; j <= h; j++)
                                     ^
0_0_13807261_12953.cpp:38:10: error: stray '#' in program
         {
          ^
0_0_13807261_12953.cpp:39:17: error: stray '#' in program
             if (map[i][j] == '*')
                 ^
0_0_13807261_12953.cpp:39:25: error: stray '#' in program
             if (map[i][j] == '*')
                         ^
0_0_13807261_12953.cpp:39:31: error: stray '#' in program
             if (map[i][j] == '*')
                               ^
0_0_13807261_12953.cpp:39:36: error: stray '#' in program
             if (map[i][j] == '*')
                                    ^
0_0_13807261_12953.cpp:39:42: error: stray '#' in program
             if (map[i][j] == '*')
                                          ^
0_0_13807261_12953.cpp:39:54: error: stray '#' in program
             if (map[i][j] == '*')
                                                      ^
0_0_13807261_12953.cpp:40:14: error: stray '#' in program
             {
              ^
0_0_13807261_12953.cpp:42:21: error: stray '#' in program
                 dfs(i, j);
                     ^
0_0_13807261_12953.cpp:42:30: error: stray '#' in program
                 dfs(i, j);
                              ^
0_0_13807261_12953.cpp:43:20: error: stray '#' in program
                 if(sum > max) max = sum;
                    ^
0_0_13807261_12953.cpp:43:34: error: stray '#' in program
                 if(sum > max) max = sum;
                                  ^
0_0_13807261_12953.cpp:44:14: error: stray '#' in program
             }
              ^
0_0_13807261_12953.cpp:45:10: error: stray '#' in program
         }
          ^
0_0_13807261_12953.cpp:46:6: error: stray '#' in program
     }
      ^
0_0_13807261_12953.cpp:47:12: error: stray '#' in program
     printf("%d\n", max);
            ^
0_0_13807261_12953.cpp:47:28: error: stray '#' in program
     printf("%d\n", max);
                            ^
0_0_13807261_12953.cpp:50:2: error: stray '#' in program
 }
  ^
0_0_13807261_1295


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 00:45:16, Gzip enabled