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_15684379_14804\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_15684379_14804\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_15684379_14804\Main.java:4: 错误: 需要class, interface或enum
int f(int n,int t,int a[],int flag);
^
0_0_15684379_14804\Main.java:5: 错误: 需要class, interface或enum
int r(int n);
^
0_0_15684379_14804\Main.java:6: 错误: 需要class, interface或enum
int j(int n);
^
0_0_15684379_14804\Main.java:7: 错误: 需要class, interface或enum
int a,b;
^
0_0_15684379_14804\Main.java:8: 错误: 需要class, interface或enum
while((scanf("%d",&n))!=EOF)
^
0_0_15684379_14804\Main.java:9: 错误: 需要class, interface或enum
{for(i=0;i<n;i++){scanf("%d%d",&a,&b);printf("%d\n",r(b)*j(a)/(j(b)*j(a-b)));}
         ^
0_0_15684379_14804\Main.java:9: 错误: 需要class, interface或enum
{for(i=0;i<n;i++){scanf("%d%d",&a,&b);printf("%d\n",r(b)*j(a)/(j(b)*j(a-b)));}
             ^
0_0_15684379_14804\Main.java:9: 错误: 需要class, interface或enum
{for(i=0;i<n;i++){scanf("%d%d",&a,&b);printf("%d\n",r(b)*j(a)/(j(b)*j(a-b)));}
                                      ^
0_0_15684379_14804\Main.java:9: 错误: 需要class, interface或enum
{for(i=0;i<n;i++){scanf("%d%d",&a,&b);printf("%d\n",r(b)*j(a)/(j(b)*j(a-b)));}
                                                                             ^
0_0_15684379_14804\Main.java:25: 错误: 需要class, interface或enum
if (t==n) {flag++;}
^
0_0_15684379_14804\Main.java:25: 错误: 需要class, interface或enum
if (t==n) {flag++;}
                  ^
0_0_15684379_14804\Main.java:26: 错误: 需要class, interface或enum
else for(i=1;i<=n;i++)
             ^
0_0_15684379_14804\Main.java:26: 错误: 需要class, interface或enum
else for(i=1;i<=n;i++)
                  ^
0_0_15684379_14804\Main.java:28: 错误: 需要class, interface或enum
for(j=0;j<t;j++){if (a[j]==i) k=0;}
^
0_0_15684379_14804\Main.java:28: 错误: 需要class, interface或enum
for(j=0;j<t;j++){if (a[j]==i) k=0;}
        ^
0_0_15684379_14804\Main.java:28: 错误: 需要class, interface或enum
for(j=0;j<t;j++){if (a[j]==i) k=0;}
            ^
0_0_15684379_14804\Main.java:28: 错误: 需要class, interface或enum
for(j=0;j<t;j++){if (a[j]==i) k=0;}
                                  ^
0_0_15684379_14804\Main.java:30: 错误: 需要class, interface或enum
if(k==1) {a[t]=i;flag=f(n,t+1,a,flag);}
^
0_0_15684379_14804\Main.java:30: 错误: 需要class, interface或enum
if(k==1) {a[t]=i;flag=f(n,t+1,a,flag);}
                 ^
0_0_15684379_14804\Main.java:30: 错误: 需要class, interface或enum
if(k==1) {a[t]=i;flag=f(n,t+1,a,flag);}
                                      ^
0_0_15684379_14804\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_15684379_14804\Main.java:38: 错误: 需要class, interface或enum
int flag;
^
0_0_15684379_14804\Main.java:39: 错误: 需要class, interface或enum
flag=0;
^
0_0_15684379_14804\Main.java:40: 错误: 需要class, interface或enum
return f(n,0,a,flag);
^
0_0_15684379_14804\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_15684379_14804\Main.java:46: 错误: 需要class, interface或enum
else if (n==1) return 1;
^
0_0_15684379_14804\Main.java:47: 错误: 需要class, interface或enum
else return n*j(n-1);
^
0_0_15684379_14804\Main.java:48: 错误: 需要class, interface或enum
}
^
30 个错误


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 11:37:52, Gzip enabled