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_39773079_18251\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_39773079_18251\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_39773079_18251\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_39773079_18251\Main.java:5: 错误: 需要class, interface或enum
int map[3][100];
^
0_0_39773079_18251\Main.java:6: 错误: 需要class, interface或enum
int dfs(int n, int a, int b, int c)
^
0_0_39773079_18251\Main.java:11: 错误: 需要class, interface或enum
    }
    ^
0_0_39773079_18251\Main.java:15: 错误: 需要class, interface或enum
        dfs(n-1, a, c, b);
        ^
0_0_39773079_18251\Main.java:16: 错误: 需要class, interface或enum
    }
    ^
0_0_39773079_18251\Main.java:20: 错误: 需要class, interface或enum
        dfs(n-1, b, a, c);
        ^
0_0_39773079_18251\Main.java:21: 错误: 需要class, interface或enum
    }
    ^
0_0_39773079_18251\Main.java:25: 错误: 需要class, interface或enum
    }
    ^
0_0_39773079_18251\Main.java:30: 错误: 需要class, interface或enum
    scanf("%d", &t);
    ^
0_0_39773079_18251\Main.java:31: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_39773079_18251\Main.java:34: 错误: 需要class, interface或enum
        int m;
        ^
0_0_39773079_18251\Main.java:35: 错误: 需要class, interface或enum
        scanf("%d", &n);
        ^
0_0_39773079_18251\Main.java:36: 错误: 需要class, interface或enum
        for(int i=0; i<3; i++)
        ^
0_0_39773079_18251\Main.java:36: 错误: 需要class, interface或enum
        for(int i=0; i<3; i++)
                     ^
0_0_39773079_18251\Main.java:36: 错误: 需要class, interface或enum
        for(int i=0; i<3; i++)
                          ^
0_0_39773079_18251\Main.java:39: 错误: 需要class, interface或enum
            for(int j=0; j<m; j++)
            ^
0_0_39773079_18251\Main.java:39: 错误: 需要class, interface或enum
            for(int j=0; j<m; j++)
                         ^
0_0_39773079_18251\Main.java:39: 错误: 需要class, interface或enum
            for(int j=0; j<m; j++)
                              ^
0_0_39773079_18251\Main.java:42: 错误: 需要class, interface或enum
            }
            ^
0_0_39773079_18251\Main.java:45: 错误: 需要class, interface或enum
        int flag = dfs(n, 0, 1, 2);
        ^
0_0_39773079_18251\Main.java:46: 错误: 需要class, interface或enum
        if(flag)
        ^
0_0_39773079_18251\Main.java:49: 错误: 需要class, interface或enum
        }
        ^
0_0_39773079_18251\Main.java:53: 错误: 需要class, interface或enum
        }
        ^
0_0_39773079_18251\Main.java:57: 错误: 需要class, interface或enum
}
^
27 个错误


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-25 05:21:39, Gzip enabled