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_26114665_1658\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_26114665_1658\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_26114665_1658\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_26114665_1658\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_26114665_1658\Main.java:6: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_26114665_1658\Main.java:7: 错误: 需要class, interface或enum
const int mod = 1e9+7;
^
0_0_26114665_1658\Main.java:8: 错误: 需要class, interface或enum
const int maxn = 55;
^
0_0_26114665_1658\Main.java:9: 错误: 需要class, interface或enum
int n,m;
^
0_0_26114665_1658\Main.java:10: 错误: 需要class, interface或enum
int x,y;
^
0_0_26114665_1658\Main.java:11: 错误: 需要class, interface或enum
int vis[maxn][maxn];
^
0_0_26114665_1658\Main.java:13: 错误: 需要class, interface或enum
int fac[maxn],fnv[maxn],inv[maxn];
^
0_0_26114665_1658\Main.java:15: 错误: 需要class, interface或enum
void init(int n){
^
0_0_26114665_1658\Main.java:16: 错误: 需要class, interface或enum
    fac[0] = fnv[0] = 1; inv[1] = 1;
                         ^
0_0_26114665_1658\Main.java:17: 错误: 需要class, interface或enum
    for (int i=2; i<=n; ++i) inv[i] = 1ll*(mod-(mod/i))*inv[mod%i]%mod;
    ^
0_0_26114665_1658\Main.java:17: 错误: 需要class, interface或enum
    for (int i=2; i<=n; ++i) inv[i] = 1ll*(mod-(mod/i))*inv[mod%i]%mod;
                  ^
0_0_26114665_1658\Main.java:17: 错误: 需要class, interface或enum
    for (int i=2; i<=n; ++i) inv[i] = 1ll*(mod-(mod/i))*inv[mod%i]%mod;
                        ^
0_0_26114665_1658\Main.java:18: 错误: 需要class, interface或enum
    for (int i=1; i<=n; ++i) fac[i] = 1ll*fac[i-1]*i%mod;
    ^
0_0_26114665_1658\Main.java:18: 错误: 需要class, interface或enum
    for (int i=1; i<=n; ++i) fac[i] = 1ll*fac[i-1]*i%mod;
                  ^
0_0_26114665_1658\Main.java:18: 错误: 需要class, interface或enum
    for (int i=1; i<=n; ++i) fac[i] = 1ll*fac[i-1]*i%mod;
                        ^
0_0_26114665_1658\Main.java:19: 错误: 需要class, interface或enum
    for (int i=1; i<=n; ++i) fnv[i] = 1ll*fnv[i-1]*inv[i]%mod;
    ^
0_0_26114665_1658\Main.java:19: 错误: 需要class, interface或enum
    for (int i=1; i<=n; ++i) fnv[i] = 1ll*fnv[i-1]*inv[i]%mod;
                  ^
0_0_26114665_1658\Main.java:19: 错误: 需要class, interface或enum
    for (int i=1; i<=n; ++i) fnv[i] = 1ll*fnv[i-1]*inv[i]%mod;
                        ^
0_0_26114665_1658\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_26114665_1658\Main.java:24: 错误: 需要class, interface或enum
    for (;b;b>>=1) {
    ^
0_0_26114665_1658\Main.java:24: 错误: 需要class, interface或enum
    for (;b;b>>=1) {
          ^
0_0_26114665_1658\Main.java:24: 错误: 需要class, interface或enum
    for (;b;b>>=1) {
            ^
0_0_26114665_1658\Main.java:26: 错误: 需要class, interface或enum
        a = 1ll*a*a%mod;
        ^
0_0_26114665_1658\Main.java:27: 错误: 需要class, interface或enum
    }
    ^
0_0_26114665_1658\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_26114665_1658\Main.java:33: 错误: 需要class, interface或enum
    if (n == m || m == 0) return 1;
    ^
0_0_26114665_1658\Main.java:34: 错误: 需要class, interface或enum
    return 1ll*fac[n]*fnv[m]%mod*fnv[n-m]%mod;
    ^
0_0_26114665_1658\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_26114665_1658\Main.java:39: 错误: 需要class, interface或enum
   if (!vis[x][y] && !vis[y][z] && !vis[x][z]) return 1;
   ^
0_0_26114665_1658\Main.java:40: 错误: 需要class, interface或enum
   return 0;
   ^
0_0_26114665_1658\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_26114665_1658\Main.java:47: 错误: 需要class, interface或enum
    int T; scanf("%d",&T);
    ^
0_0_26114665_1658\Main.java:47: 错误: 需要class, interface或enum
    int T; scanf("%d",&T);
           ^
0_0_26114665_1658\Main.java:48: 错误: 需要class, interface或enum
    for (int kase= 1; kase<=T; ++kase) {
    ^
0_0_26114665_1658\Main.java:48: 错误: 需要class, interface或enum
    for (int kase= 1; kase<=T; ++kase) {
                      ^
0_0_26114665_1658\Main.java:48: 错误: 需要class, interface或enum
    for (int kase= 1; kase<=T; ++kase) {
                               ^
0_0_26114665_1658\Main.java:50: 错误: 需要class, interface或enum
        memset(vis,0,sizeof(vis));
        ^
0_0_26114665_1658\Main.java:51: 错误: 需要class, interface或enum
        for (int i=1; i<=m; ++i) {
        ^
0_0_26114665_1658\Main.java:51: 错误: 需要class, interface或enum
        for (int i=1; i<=m; ++i) {
                      ^
0_0_26114665_1658\Main.java:51: 错误: 需要class, interface或enum
        for (int i=1; i<=m; ++i) {
                            ^
0_0_26114665_1658\Main.java:53: 错误: 需要class, interface或enum
             vis[x][y] = vis[y][x] = 1;
             ^
0_0_26114665_1658\Main.java:54: 错误: 需要class, interface或enum
        }
        ^
0_0_26114665_1658\Main.java:57: 错误: 需要class, interface或enum
        for (int i=0; i<=min(5,n); ++i) {
        ^
0_0_26114665_1658\Main.java:57: 错误: 需要class, interface或enum
        for (int i=0; i<=min(5,n); ++i) {
                      ^
0_0_26114665_1658\Main.java:57: 错误: 需要class, interface或enum
        for (int i=0; i<=min(5,n); ++i) {
                                   ^
0_0_26114665_1658\Main.java:59: 错误: 需要class, interface或enum
        }
        ^
0_0_26114665_1658\Main.java:61: 错误: 需要class, interface或enum
        for (int a=1; a<=n; ++a) {
                      ^
0_0_26114665_1658\Main.java:61: 错误: 需要class, interface或enum
        for (int a=1; a<=n; ++a) {
                            ^
0_0_26114665_1658\Main.java:62: 错误: 需要class, interface或enum
            for (int b=a+1; b<=n; ++b) {
                            ^
0_0_26114665_1658\Main.java:62: 错误: 需要class, interface或enum
            for (int b=a+1; b<=n; ++b) {
                                  ^
0_0_26114665_1658\Main.java:63: 错误: 需要class, interface或enum
                for (int c=b+1; c<=n; ++c) {
                                ^
0_0_26114665_1658\Main.java:63: 错误: 需要class, interface或enum
                for (int c=b+1; c<=n; ++c) {
                                      ^
0_0_26114665_1658\Main.java:65: 错误: 需要class, interface或enum
                }
                ^
0_0_26114665_1658\Main.java:69: 错误: 需要class, interface或enum
        for (int a = 1; a<=n; ++a) {
                        ^
0_0_26114665_1658\Main.java:69: 错误: 需要class, interface或enum
        for (int a = 1; a<=n; ++a) {
                              ^
0_0_26114665_1658\Main.java:70: 错误: 需要class, interface或enum
            for (int b = a+1; b<=n; ++b) {
                              ^
0_0_26114665_1658\Main.java:70: 错误: 需要class, interface或enum
            for (int b = a+1; b<=n; ++b) {
                                    ^
0_0_26114665_1658\Main.java:71: 错误: 需要class, interface或enum
                for (int c = b+1; c<=n; ++c) {
                                  ^
0_0_26114665_1658\Main.java:71: 错误: 需要class, interface或enum
                for (int c = b+1; c<=n; ++c) {
                                        ^
0_0_26114665_1658\Main.java:72: 错误: 需要class, interface或enum
                    for (int d = c+1; d<=n; ++d) {
                                      ^
0_0_26114665_1658\Main.java:72: 错误: 需要class, interface或enum
                    for (int d = c+1; d<=n; ++d) {
                                            ^
0_0_26114665_1658\Main.java:74: 错误: 需要class, interface或enum
                    }
                    ^
0_0_26114665_1658\Main.java:79: 错误: 需要class, interface或enum
        for (int a = 1; a<=n; ++a) {
                        ^
0_0_26114665_1658\Main.java:79: 错误: 需要class, interface或enum
        for (int a = 1; a<=n; ++a) {
                              ^
0_0_26114665_1658\Main.java:80: 错误: 需要class, interface或enum
            for (int b = a+1; b<=n; ++b) {
                              ^
0_0_26114665_1658\Main.java:80: 错误: 需要class, interface或enum
            for (int b = a+1; b<=n; ++b) {
                                    ^
0_0_26114665_1658\Main.java:81: 错误: 需要class, interface或enum
                for (int c = b+1; c<=n; ++c) {
                                  ^
0_0_26114665_1658\Main.java:81: 错误: 需要class, interface或enum
                for (int c = b+1; c<=n; ++c) {
                                        ^
0_0_26114665_1658\Main.java:82: 错误: 需要class, interface或enum
                    for (int d = c+1; d<=n; ++d) {
                                      ^
0_0_26114665_1658\Main.java:82: 错误: 需要class, interface或enum
                    for (int d = c+1; d<=n; ++d) {
                                            ^
0_0_26114665_1658\Main.java:83: 错误: 需要class, interface或enum
                       for (int e = d+1; e<=n; ++e) {
                                         ^
0_0_26114665_1658\Main.java:83: 错误: 需要class, interface或enum
                       for (int e = d+1; e<=n; ++e) {
                                               ^
0_0_26114665_1658\Main.java:86: 错误: 需要class, interface或enum
                       }
                       ^
0_0_26114665_1658\Main.java:93: 错误: 需要class, interface或enum
        printf("Case #%d: %d\n",kase,ans);
        ^
0_0_26114665_1658\Main.java:95: 错误: 需要class, interface或enum
    }


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-26 16:17:23, Gzip enabled