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_6379213_32339\Main.java:7: class, interface, or enum expected
	public static BigInteger[] f=new BigInteger[110];
	              ^
0_0_6379213_32339\Main.java:10: class, interface, or enum expected
	public static void main(String argu[])
	              ^
0_0_6379213_32339\Main.java:13: class, interface, or enum expected
					for(n=0;n<=101;n++)f[n]=BigInteger.valueOf(0);
					^
0_0_6379213_32339\Main.java:13: class, interface, or enum expected
					for(n=0;n<=101;n++)f[n]=BigInteger.valueOf(0);
					        ^
0_0_6379213_32339\Main.java:13: class, interface, or enum expected
					for(n=0;n<=101;n++)f[n]=BigInteger.valueOf(0);
					               ^
0_0_6379213_32339\Main.java:15: class, interface, or enum expected
                    Scanner cin=new Scanner(System.in);
                    ^
0_0_6379213_32339\Main.java:16: class, interface, or enum expected
                    while(cin.hasNextInt())
                    ^
0_0_6379213_32339\Main.java:19: class, interface, or enum expected
                    BigInteger a;
                    ^
0_0_6379213_32339\Main.java:25: class, interface, or enum expected
                    a=refun(n);
                    ^
0_0_6379213_32339\Main.java:27: class, interface, or enum expected
                    System.out.println(a);
                    ^
0_0_6379213_32339\Main.java:28: class, interface, or enum expected
                    }
                    ^
0_0_6379213_32339\Main.java:30: class, interface, or enum expected
	public static BigInteger refun(int x){
	              ^
0_0_6379213_32339\Main.java:32: class, interface, or enum expected
		b=BigInteger.valueOf(0);
		^
0_0_6379213_32339\Main.java:33: class, interface, or enum expected
		if(!f[x].equals(b)){
		^
0_0_6379213_32339\Main.java:35: class, interface, or enum expected
		}
		^
0_0_6379213_32339\Main.java:38: class, interface, or enum expected
		else 
		^
0_0_6379213_32339\Main.java:41: class, interface, or enum expected
				int i;
				^
0_0_6379213_32339\Main.java:42: class, interface, or enum expected
				for(i=0;i<x;i++){
				^
0_0_6379213_32339\Main.java:42: class, interface, or enum expected
				for(i=0;i<x;i++){
				        ^
0_0_6379213_32339\Main.java:42: class, interface, or enum expected
				for(i=0;i<x;i++){
				            ^
0_0_6379213_32339\Main.java:44: class, interface, or enum expected
					t1=refun(x-i-1);
					^
0_0_6379213_32339\Main.java:45: class, interface, or enum expected
					t2=refun(i);
					^
0_0_6379213_32339\Main.java:46: class, interface, or enum expected
					tt=t1.multiply(t2);
					^
0_0_6379213_32339\Main.java:47: class, interface, or enum expected
					a=a.add(tt);
					^
0_0_6379213_32339\Main.java:48: class, interface, or enum expected
				}
				^
0_0_6379213_32339\Main.java:52: class, interface, or enum expected
	}
	^
26 errors


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-17 00:42:11, Gzip enabled