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_14594897_12320\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_14594897_12320\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_14594897_12320\Main.java:2: 错误: 非法字符: '#'
#define N 111
^
0_0_14594897_12320\Main.java:3: 错误: 非法字符: '#'
#define M 11111
^
0_0_14594897_12320\Main.java:5: 错误: 需要class, interface或enum
std::vector<std::pair<int, int> > poi[M];
^
0_0_14594897_12320\Main.java:6: 错误: 需要class, interface或enum
void clear(){
^
0_0_14594897_12320\Main.java:8: 错误: 需要class, interface或enum
    memset(bu2, 0, sizeof bu2);
    ^
0_0_14594897_12320\Main.java:9: 错误: 需要class, interface或enum
    now = now2 = 0;
    ^
0_0_14594897_12320\Main.java:10: 错误: 需要class, interface或enum
    for (int i = 1; i < M; i ++ )
    ^
0_0_14594897_12320\Main.java:10: 错误: 需要class, interface或enum
    for (int i = 1; i < M; i ++ )
                    ^
0_0_14594897_12320\Main.java:10: 错误: 需要class, interface或enum
    for (int i = 1; i < M; i ++ )
                           ^
0_0_14594897_12320\Main.java:12: 错误: 需要class, interface或enum
}
^
0_0_14594897_12320\Main.java:14: 错误: 需要class, interface或enum
    for (int i = 1; i <= n; i ++ )
                    ^
0_0_14594897_12320\Main.java:14: 错误: 需要class, interface或enum
    for (int i = 1; i <= n; i ++ )
                            ^
0_0_14594897_12320\Main.java:15: 错误: 需要class, interface或enum
        for (int j = 1; j <= m; j ++ ){
                        ^
0_0_14594897_12320\Main.java:15: 错误: 需要class, interface或enum
        for (int j = 1; j <= m; j ++ ){
                                ^
0_0_14594897_12320\Main.java:17: 错误: 需要class, interface或enum
            if (map[i][j]) poi[map[i][j]].push_back(std::make_pair(i, j));
            ^
0_0_14594897_12320\Main.java:18: 错误: 需要class, interface或enum
        }
        ^
0_0_14594897_12320\Main.java:19: 错误: 需要class, interface或enum
    for (int i = 1; i <= n; i ++ ){
                    ^
0_0_14594897_12320\Main.java:19: 错误: 需要class, interface或enum
    for (int i = 1; i <= n; i ++ ){
                            ^
0_0_14594897_12320\Main.java:21: 错误: 需要class, interface或enum
        for (int j = 1; j <= m; j ++ )
        ^
0_0_14594897_12320\Main.java:21: 错误: 需要class, interface或enum
        for (int j = 1; j <= m; j ++ )
                        ^
0_0_14594897_12320\Main.java:21: 错误: 需要class, interface或enum
        for (int j = 1; j <= m; j ++ )
                                ^
0_0_14594897_12320\Main.java:24: 错误: 需要class, interface或enum
                right[i][tmp] = j;
                ^
0_0_14594897_12320\Main.java:25: 错误: 需要class, interface或enum
                if (tmp) bu[j - tmp] ++ ;
                ^
0_0_14594897_12320\Main.java:26: 错误: 需要class, interface或enum
                else bu2[j] ++ ;
                ^
0_0_14594897_12320\Main.java:27: 错误: 需要class, interface或enum
                tmp = j;
                ^
0_0_14594897_12320\Main.java:28: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:30: 错误: 需要class, interface或enum
            bu2[m - tmp + 1] ++ ;
            ^
0_0_14594897_12320\Main.java:31: 错误: 需要class, interface或enum
    }
    ^
0_0_14594897_12320\Main.java:32: 错误: 需要class, interface或enum
    for (int j = 1; j <= m; j ++ ){
                    ^
0_0_14594897_12320\Main.java:32: 错误: 需要class, interface或enum
    for (int j = 1; j <= m; j ++ ){
                            ^
0_0_14594897_12320\Main.java:34: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i ++ )
        ^
0_0_14594897_12320\Main.java:34: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i ++ )
                        ^
0_0_14594897_12320\Main.java:34: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i ++ )
                                ^
0_0_14594897_12320\Main.java:37: 错误: 需要class, interface或enum
                down[tmp][j] = i;
                ^
0_0_14594897_12320\Main.java:38: 错误: 需要class, interface或enum
                if (tmp) bu[i - tmp] ++ ;
                ^
0_0_14594897_12320\Main.java:39: 错误: 需要class, interface或enum
                else bu2[i] ++ ;
                ^
0_0_14594897_12320\Main.java:40: 错误: 需要class, interface或enum
                tmp = i;
                ^
0_0_14594897_12320\Main.java:41: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:43: 错误: 需要class, interface或enum
            bu2[n - tmp + 1] ++ ;
            ^
0_0_14594897_12320\Main.java:44: 错误: 需要class, interface或enum
    }
    ^
0_0_14594897_12320\Main.java:45: 错误: 需要class, interface或enum
    for (now = 10000; now && !bu[now]; now -- );
                      ^
0_0_14594897_12320\Main.java:45: 错误: 需要class, interface或enum
    for (now = 10000; now && !bu[now]; now -- );
                                       ^
0_0_14594897_12320\Main.java:46: 错误: 需要class, interface或enum
    for (now2 = 10000; !bu2[now2]; now2 -- );
    ^
0_0_14594897_12320\Main.java:46: 错误: 需要class, interface或enum
    for (now2 = 10000; !bu2[now2]; now2 -- );
                       ^
0_0_14594897_12320\Main.java:46: 错误: 需要class, interface或enum
    for (now2 = 10000; !bu2[now2]; now2 -- );
                                   ^
0_0_14594897_12320\Main.java:47: 错误: 需要class, interface或enum
    for (int k = 1; k <= 10000; k ++ ){//printf("%d %d %d\n",k,now,now2);
    ^
0_0_14594897_12320\Main.java:47: 错误: 需要class, interface或enum
    for (int k = 1; k <= 10000; k ++ ){//printf("%d %d %d\n",k,now,now2);
                    ^
0_0_14594897_12320\Main.java:47: 错误: 需要class, interface或enum
    for (int k = 1; k <= 10000; k ++ ){//printf("%d %d %d\n",k,now,now2);
                                ^
0_0_14594897_12320\Main.java:50: 错误: 需要class, interface或enum
            return;
            ^
0_0_14594897_12320\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_14594897_12320\Main.java:52: 错误: 需要class, interface或enum
        for (int i = 0; i < poi[k].size(); i ++ ){
                        ^
0_0_14594897_12320\Main.java:52: 错误: 需要class, interface或enum
        for (int i = 0; i < poi[k].size(); i ++ ){
                                           ^
0_0_14594897_12320\Main.java:54: 错误: 需要class, interface或enum
            if (left[x][y] == 0){
            ^
0_0_14594897_12320\Main.java:56: 错误: 需要class, interface或enum
                if (y > now2) now2 = y;
                ^
0_0_14594897_12320\Main.java:57: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:60: 错误: 需要class, interface或enum
                if (m + 1 - y > now2) now2 = m + 1 - y;
                ^
0_0_14594897_12320\Main.java:61: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:64: 错误: 需要class, interface或enum
                if (right[x][y] - left[x][y]) now = right[x][y] - left[x][y];
                ^
0_0_14594897_12320\Main.java:65: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:68: 错误: 需要class, interface或enum
                if (x > now2) now2 = x;
                ^
0_0_14594897_12320\Main.java:69: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:72: 错误: 需要class, interface或enum
                if (n + 1 - x > now2) now2 = n + 1 - x;
                ^
0_0_14594897_12320\Main.java:73: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:76: 错误: 需要class, interface或enum
                if (down[x][y] - up[x][y] > now) now = down[x][y] - up[x][y];
                ^
0_0_14594897_12320\Main.java:77: 错误: 需要class, interface或enum
            }
            ^
0_0_14594897_12320\Main.java:79: 错误: 需要class, interface或enum
            right[x][left[x][y]] = right[x][y];
            ^
0_0_14594897_12320\Main.java:80: 错误: 需要class, interface或enum
            up[down[x][y]][y] = up[x][y];
            ^
0_0_14594897_12320\Main.java:81: 错误: 需要class, interface或enum
            down[up[x][y]][y] = down[x][y];
            ^
0_0_14594897_12320\Main.java:82: 错误: 需要class, interface或enum
            if (left[x][y] <= 0 && right[x][y] > m) goto DD;
            ^
0_0_14594897_12320\Main.java:83: 错误: 需要class, interface或enum
            if (up[x][y] <= 0 && down[x][y] > n) goto DD;
            ^
0_0_14594897_12320\Main.java:84: 错误: 需要class, interface或enum
        }
        ^
0_0_14594897_12320\Main.java:87: 错误: 需要class, interface或enum
    printf("NO ANSWER!\n");
    ^
0_0_14594897_12320\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_14594897_12320\Main.java:90: 错误: 需要class, interface或enum
    for (; ; ){
             ^
0_0_14594897_12320\Main.java:92: 错误: 需要class, interface或enum
        if (!n && !m) return 0;
        ^
0_0_14594897_12320\Main.java:93: 错误: 需要class, interface或enum
        Main();
        ^
0_0_14594897_12320\Main.java:94: 错误: 需要class, interface或enum
    }
    ^
79 个错误


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-23 05:35:10, Gzip enabled