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_18744360_15610\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_18744360_15610\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_18744360_15610\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_18744360_15610\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_18744360_15610\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_18744360_15610\Main.java:5: 错误: 非法字符: '#'
#include<queue>
^
0_0_18744360_15610\Main.java:7: 错误: 需要class, interface或enum
const int Max=205;
^
0_0_18744360_15610\Main.java:8: 错误: 需要class, interface或enum
const int mod=1e9+7;
^
0_0_18744360_15610\Main.java:9: 错误: 需要class, interface或enum
int T,N,M,P,Q,ans,n,m;
^
0_0_18744360_15610\Main.java:10: 错误: 需要class, interface或enum
int G[Max],inv[Max],g[Max];
^
0_0_18744360_15610\Main.java:11: 错误: 需要class, interface或enum
int dp[Max][Max][Max],v[Max][Max],t;
^
0_0_18744360_15610\Main.java:13: 错误: 需要class, interface或enum
int A(int x,int y)
^
0_0_18744360_15610\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_18744360_15610\Main.java:21: 错误: 需要class, interface或enum
    for (int i=2;i<Max;i++)
    ^
0_0_18744360_15610\Main.java:21: 错误: 需要class, interface或enum
    for (int i=2;i<Max;i++)
                 ^
0_0_18744360_15610\Main.java:21: 错误: 需要class, interface或enum
    for (int i=2;i<Max;i++)
                       ^
0_0_18744360_15610\Main.java:24: 错误: 需要class, interface或enum
        inv[i]=1LL*inv[mod%i]*(mod-mod/i)%mod;
        ^
0_0_18744360_15610\Main.java:25: 错误: 需要class, interface或enum
        g[i]=1LL*g[i]*inv[i-1]%mod;
        ^
0_0_18744360_15610\Main.java:26: 错误: 需要class, interface或enum
    }
    ^
0_0_18744360_15610\Main.java:28: 错误: 需要class, interface或enum
    while (T--)
    ^
0_0_18744360_15610\Main.java:31: 错误: 需要class, interface或enum
        if (N<Q||M<Q) {puts("0"); continue;}
        ^
0_0_18744360_15610\Main.java:31: 错误: 需要class, interface或enum
        if (N<Q||M<Q) {puts("0"); continue;}
                                  ^
0_0_18744360_15610\Main.java:31: 错误: 需要class, interface或enum
        if (N<Q||M<Q) {puts("0"); continue;}
                                           ^
0_0_18744360_15610\Main.java:33: 错误: 需要class, interface或enum
        n=N-Q; m=M-Q;
        ^
0_0_18744360_15610\Main.java:33: 错误: 需要class, interface或enum
        n=N-Q; m=M-Q;
               ^
0_0_18744360_15610\Main.java:34: 错误: 需要class, interface或enum
        memset(dp[0],0,sizeof(dp[0]));
        ^
0_0_18744360_15610\Main.java:35: 错误: 需要class, interface或enum
        memset(v,0,sizeof(v));
        ^
0_0_18744360_15610\Main.java:36: 错误: 需要class, interface或enum
        dp[0][m][0]=1; t=1;
        ^
0_0_18744360_15610\Main.java:36: 错误: 需要class, interface或enum
        dp[0][m][0]=1; t=1;
                       ^
0_0_18744360_15610\Main.java:37: 错误: 需要class, interface或enum
        for (int k=1;k<=n;k++)
        ^
0_0_18744360_15610\Main.java:37: 错误: 需要class, interface或enum
        for (int k=1;k<=n;k++)
                     ^
0_0_18744360_15610\Main.java:37: 错误: 需要class, interface或enum
        for (int k=1;k<=n;k++)
                          ^
0_0_18744360_15610\Main.java:39: 错误: 需要class, interface或enum
            for (int i=0;i<=m;i++)
                         ^
0_0_18744360_15610\Main.java:39: 错误: 需要class, interface或enum
            for (int i=0;i<=m;i++)
                              ^
0_0_18744360_15610\Main.java:41: 错误: 需要class, interface或enum
                for (int j=0;j<=m;j++)
                             ^
0_0_18744360_15610\Main.java:41: 错误: 需要class, interface或enum
                for (int j=0;j<=m;j++)
                                  ^
0_0_18744360_15610\Main.java:44: 错误: 需要class, interface或enum
                    if (v[i][j]<t) v[i][j]=t,dp[k][i][j]=dp[k-1][i][j];
                    ^
0_0_18744360_15610\Main.java:45: 错误: 需要class, interface或enum
                    else dp[k][i][j]+=dp[k-1][i][j];
                    ^
0_0_18744360_15610\Main.java:46: 错误: 需要class, interface或enum
                    if (i&&j<m)
                    ^
0_0_18744360_15610\Main.java:49: 错误: 需要class, interface或enum
                        else (dp[k][i-1][j+1]+=1LL*i*dp[k-1][i][j]%mod)%=mod;
                        ^
0_0_18744360_15610\Main.java:50: 错误: 需要class, interface或enum
                    }
                    ^
0_0_18744360_15610\Main.java:54: 错误: 需要class, interface或enum
                        else (dp[k][i][j-1]+=1LL*j*dp[k-1][i][j]%mod)%=mod;
                        ^
0_0_18744360_15610\Main.java:55: 错误: 需要class, interface或enum
                    }
                    ^
0_0_18744360_15610\Main.java:59: 错误: 需要class, interface或enum
                        else (dp[k][i-2][j+2]+=1LL*i*(i-1)/2*dp[k-1][i][j]%mod)%=mod;
                        ^
0_0_18744360_15610\Main.java:60: 错误: 需要class, interface或enum
                    }
                    ^
0_0_18744360_15610\Main.java:64: 错误: 需要class, interface或enum
        for (int i=0;i<=m;i++)
                     ^
0_0_18744360_15610\Main.java:64: 错误: 需要class, interface或enum
        for (int i=0;i<=m;i++)
                          ^
0_0_18744360_15610\Main.java:66: 错误: 需要class, interface或enum
            for (int j=0;j<=m;j++)
                         ^
0_0_18744360_15610\Main.java:66: 错误: 需要class, interface或enum
            for (int j=0;j<=m;j++)
                              ^
0_0_18744360_15610\Main.java:69: 错误: 需要class, interface或enum
            }
            ^
0_0_18744360_15610\Main.java:72: 错误: 需要class, interface或enum
        printf("%d\n",ans);
        ^
0_0_18744360_15610\Main.java:73: 错误: 需要class, interface或enum
    }
    ^
0_0_18744360_15610\Main.java:75: 错误: 需要class, interface或enum
}
^
53 个错误


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 11:53:15, Gzip enabled