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_38080217_13614\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_38080217_13614\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_38080217_13614\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_38080217_13614\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_38080217_13614\Main.java:7: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_38080217_13614\Main.java:9: 错误: 需要class, interface或enum
const int inf = 0x3f3f3f3f;
^
0_0_38080217_13614\Main.java:10: 错误: 需要class, interface或enum
const int N = 1e6 + 7;
^
0_0_38080217_13614\Main.java:12: 错误: 需要class, interface或enum
int x[5], y[5], a[5], b[5];
^
0_0_38080217_13614\Main.java:13: 错误: 需要class, interface或enum
int dir[4][2] = { 0, 1, 0, -1, 1, 0, -1, 0 };
^
0_0_38080217_13614\Main.java:14: 错误: 需要class, interface或enum
bool mp[11][11];
^
0_0_38080217_13614\Main.java:16: 错误: 需要class, interface或enum
void dfs(int x, int y)
^
0_0_38080217_13614\Main.java:19: 错误: 需要class, interface或enum
    for (int i = 0; i < 4; ++i)
    ^
0_0_38080217_13614\Main.java:19: 错误: 需要class, interface或enum
    for (int i = 0; i < 4; ++i)
                    ^
0_0_38080217_13614\Main.java:19: 错误: 需要class, interface或enum
    for (int i = 0; i < 4; ++i)
                           ^
0_0_38080217_13614\Main.java:22: 错误: 需要class, interface或enum
        int fy = y + dir[i][1];
        ^
0_0_38080217_13614\Main.java:23: 错误: 需要class, interface或enum
        if (fx >= 0 && fx < 11 && fy >= 0 && fy < 11 && !mp[fx][fy])
        ^
0_0_38080217_13614\Main.java:26: 错误: 需要class, interface或enum
        }
        ^
0_0_38080217_13614\Main.java:33: 错误: 需要class, interface或enum
    scanf("%d", &t);
    ^
0_0_38080217_13614\Main.java:34: 错误: 需要class, interface或enum
    while (t--)
    ^
0_0_38080217_13614\Main.java:36: 错误: 需要class, interface或enum
        for (int i = 1; i <= 4; ++i)
                        ^
0_0_38080217_13614\Main.java:36: 错误: 需要class, interface或enum
        for (int i = 1; i <= 4; ++i)
                                ^
0_0_38080217_13614\Main.java:39: 错误: 需要class, interface或enum
            a[i] = x[i];
            ^
0_0_38080217_13614\Main.java:40: 错误: 需要class, interface或enum
            b[i] = y[i];
            ^
0_0_38080217_13614\Main.java:41: 错误: 需要class, interface或enum
        }
        ^
0_0_38080217_13614\Main.java:43: 错误: 需要class, interface或enum
        sort(b + 1, b + 5);
        ^
0_0_38080217_13614\Main.java:44: 错误: 需要class, interface或enum
        for (int i = 1; i <= 4; ++i) 
        ^
0_0_38080217_13614\Main.java:44: 错误: 需要class, interface或enum
        for (int i = 1; i <= 4; ++i) 
                        ^
0_0_38080217_13614\Main.java:44: 错误: 需要class, interface或enum
        for (int i = 1; i <= 4; ++i) 
                                ^
0_0_38080217_13614\Main.java:47: 错误: 需要class, interface或enum
            y[i] = 2 * (lower_bound(b + 1, b + 5, y[i]) - b);
            ^
0_0_38080217_13614\Main.java:48: 错误: 需要class, interface或enum
        }
        ^
0_0_38080217_13614\Main.java:50: 错误: 需要class, interface或enum
        for (int i = x[1]; i <= x[2]; ++i) mp[i][y[1]] = mp[i][y[2]] = 1;
        ^
0_0_38080217_13614\Main.java:50: 错误: 需要class, interface或enum
        for (int i = x[1]; i <= x[2]; ++i) mp[i][y[1]] = mp[i][y[2]] = 1;
                           ^
0_0_38080217_13614\Main.java:50: 错误: 需要class, interface或enum
        for (int i = x[1]; i <= x[2]; ++i) mp[i][y[1]] = mp[i][y[2]] = 1;
                                      ^
0_0_38080217_13614\Main.java:51: 错误: 需要class, interface或enum
        for (int i = x[3]; i <= x[4]; ++i) mp[i][y[3]] = mp[i][y[4]] = 1;
        ^
0_0_38080217_13614\Main.java:51: 错误: 需要class, interface或enum
        for (int i = x[3]; i <= x[4]; ++i) mp[i][y[3]] = mp[i][y[4]] = 1;
                           ^
0_0_38080217_13614\Main.java:51: 错误: 需要class, interface或enum
        for (int i = x[3]; i <= x[4]; ++i) mp[i][y[3]] = mp[i][y[4]] = 1;
                                      ^
0_0_38080217_13614\Main.java:52: 错误: 需要class, interface或enum
        for (int i = y[1]; i <= y[2]; ++i) mp[x[1]][i] = mp[x[2]][i] = 1;
        ^
0_0_38080217_13614\Main.java:52: 错误: 需要class, interface或enum
        for (int i = y[1]; i <= y[2]; ++i) mp[x[1]][i] = mp[x[2]][i] = 1;
                           ^
0_0_38080217_13614\Main.java:52: 错误: 需要class, interface或enum
        for (int i = y[1]; i <= y[2]; ++i) mp[x[1]][i] = mp[x[2]][i] = 1;
                                      ^
0_0_38080217_13614\Main.java:53: 错误: 需要class, interface或enum
        for (int i = y[3]; i <= y[4]; ++i) mp[x[3]][i] = mp[x[4]][i] = 1;
        ^
0_0_38080217_13614\Main.java:53: 错误: 需要class, interface或enum
        for (int i = y[3]; i <= y[4]; ++i) mp[x[3]][i] = mp[x[4]][i] = 1;
                           ^
0_0_38080217_13614\Main.java:53: 错误: 需要class, interface或enum
        for (int i = y[3]; i <= y[4]; ++i) mp[x[3]][i] = mp[x[4]][i] = 1;
                                      ^
0_0_38080217_13614\Main.java:54: 错误: 需要class, interface或enum
        int ans = 0;
        ^
0_0_38080217_13614\Main.java:55: 错误: 需要class, interface或enum
        for (int i = 0; i < 11; ++i)
        ^
0_0_38080217_13614\Main.java:55: 错误: 需要class, interface或enum
        for (int i = 0; i < 11; ++i)
                        ^
0_0_38080217_13614\Main.java:55: 错误: 需要class, interface或enum
        for (int i = 0; i < 11; ++i)
                                ^
0_0_38080217_13614\Main.java:57: 错误: 需要class, interface或enum
            for (int j = 0; j < 11; ++j)
                            ^
0_0_38080217_13614\Main.java:57: 错误: 需要class, interface或enum
            for (int j = 0; j < 11; ++j)
                                    ^
0_0_38080217_13614\Main.java:62: 错误: 需要class, interface或enum
                    ans++;
                    ^
0_0_38080217_13614\Main.java:63: 错误: 需要class, interface或enum
                }
                ^
0_0_38080217_13614\Main.java:67: 错误: 需要class, interface或enum
    }
    ^
0_0_38080217_13614\Main.java:69: 错误: 需要class, interface或enum
}
^
52 个错误


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-24 23:28:05, Gzip enabled