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_39443916_26428\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39443916_26428\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_39443916_26428\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_39443916_26428\Main.java:3: 错误: 非法字符: '#'
#include<vector>
^
0_0_39443916_26428\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_39443916_26428\Main.java:5: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_39443916_26428\Main.java:7: 错误: 需要class, interface或enum
int ga[10][10], gb[10][10];
^
0_0_39443916_26428\Main.java:8: 错误: 需要class, interface或enum
int n, ma, mb; 
^
0_0_39443916_26428\Main.java:9: 错误: 需要class, interface或enum
int ia, ib, da, db;
^
0_0_39443916_26428\Main.java:10: 错误: 需要class, interface或enum
int solve(){
^
0_0_39443916_26428\Main.java:12: 错误: 需要class, interface或enum
    for(int i = 0; i < n; i++){
    ^
0_0_39443916_26428\Main.java:12: 错误: 需要class, interface或enum
    for(int i = 0; i < n; i++){
                   ^
0_0_39443916_26428\Main.java:12: 错误: 需要class, interface或enum
    for(int i = 0; i < n; i++){
                          ^
0_0_39443916_26428\Main.java:14: 错误: 需要class, interface或enum
    }
    ^
0_0_39443916_26428\Main.java:16: 错误: 需要class, interface或enum
    do{
    ^
0_0_39443916_26428\Main.java:18: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
        ^
0_0_39443916_26428\Main.java:18: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
                       ^
0_0_39443916_26428\Main.java:18: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
                              ^
0_0_39443916_26428\Main.java:19: 错误: 需要class, interface或enum
            for(int j = 0; j < n; j++){
                           ^
0_0_39443916_26428\Main.java:19: 错误: 需要class, interface或enum
            for(int j = 0; j < n; j++){
                                  ^
0_0_39443916_26428\Main.java:23: 错误: 需要class, interface或enum
                }else if(ga[p[i]][p[j]] == 1 && gb[i][j] == -1){
                ^
0_0_39443916_26428\Main.java:25: 错误: 需要class, interface或enum
                }
                ^
0_0_39443916_26428\Main.java:29: 错误: 需要class, interface或enum
    }while(next_permutation(p.begin(), p.end()));
    ^
0_0_39443916_26428\Main.java:30: 错误: 需要class, interface或enum
    return res / 2;
    ^
0_0_39443916_26428\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_39443916_26428\Main.java:34: 错误: 需要class, interface或enum
    while(scanf("%d%d%d", &n, &ma, &mb) && (n + ma + mb) > 0){
    ^
0_0_39443916_26428\Main.java:36: 错误: 需要class, interface或enum
        memset(gb, -1, sizeof(gb));
        ^
0_0_39443916_26428\Main.java:37: 错误: 需要class, interface或enum
        int a, b;
        ^
0_0_39443916_26428\Main.java:38: 错误: 需要class, interface或enum
        scanf("%d%d%d%d", &ia, &ib, &da, &db);
        ^
0_0_39443916_26428\Main.java:39: 错误: 需要class, interface或enum
        for(int i = 0; i < ma; i++){
        ^
0_0_39443916_26428\Main.java:39: 错误: 需要class, interface或enum
        for(int i = 0; i < ma; i++){
                       ^
0_0_39443916_26428\Main.java:39: 错误: 需要class, interface或enum
        for(int i = 0; i < ma; i++){
                               ^
0_0_39443916_26428\Main.java:41: 错误: 需要class, interface或enum
            ga[a][b] = ga[b][a] = 1;
            ^
0_0_39443916_26428\Main.java:42: 错误: 需要class, interface或enum
        }
        ^
0_0_39443916_26428\Main.java:43: 错误: 需要class, interface或enum
        for(int i = 0; i < mb; i++){
                       ^
0_0_39443916_26428\Main.java:43: 错误: 需要class, interface或enum
        for(int i = 0; i < mb; i++){
                               ^
0_0_39443916_26428\Main.java:45: 错误: 需要class, interface或enum
            gb[a][b] = gb[b][a] = 1;
            ^
0_0_39443916_26428\Main.java:46: 错误: 需要class, interface或enum
        }
        ^
0_0_39443916_26428\Main.java:48: 错误: 需要class, interface或enum
    }
    ^
39 个错误


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.001000(s) query 1, Server time : 2025-01-10 12:10:52, Gzip enabled