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_6634259_1440\Main.java:12: cannot find symbol
symbol  : constructor BigInteger()
location: class java.math.BigInteger
		BigInteger Mod=new BigInteger();
		               ^
0_0_6634259_1440\Main.java:13: incompatible types
found   : int
required: java.math.BigInteger
		Mod=1;
		    ^
0_0_6634259_1440\Main.java:16: operator * cannot be applied to java.math.BigInteger,int
			Mod=Mod*10;
			       ^
0_0_6634259_1440\Main.java:17: incompatible types
found   : int
required: java.math.BigInteger
		dp1[1]=1;dp1[2]=2;
		       ^
0_0_6634259_1440\Main.java:17: incompatible types
found   : int
required: java.math.BigInteger
		dp1[1]=1;dp1[2]=2;
		                ^
0_0_6634259_1440\Main.java:18: incompatible types
found   : int
required: java.math.BigInteger
		dp2[1]=0;dp2[2]=1;
		       ^
0_0_6634259_1440\Main.java:18: incompatible types
found   : int
required: java.math.BigInteger
		dp2[1]=0;dp2[2]=1;
		                ^
0_0_6634259_1440\Main.java:19: incompatible types
found   : int
required: java.math.BigInteger
		dp1[0]=1;
		       ^
0_0_6634259_1440\Main.java:26: operator * cannot be applied to java.math.BigInteger,java.math.BigInteger
				dp1[i]=dp1[i]+dp2[j]*dp1[i-j];dp1[i]=dp1[i]%Mod;
				                    ^
0_0_6634259_1440\Main.java:26: operator + cannot be applied to java.math.BigInteger,<any>
				dp1[i]=dp1[i]+dp2[j]*dp1[i-j];dp1[i]=dp1[i]%Mod;
				          ^
0_0_6634259_1440\Main.java:26: operator % cannot be applied to java.math.BigInteger,java.math.BigInteger
				dp1[i]=dp1[i]+dp2[j]*dp1[i-j];dp1[i]=dp1[i]%Mod;
				                                           ^
11 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-27 06:02:42, Gzip enabled