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_1543894_21625\Main.java:13: 不兼容的类型
找到: int
需要: java.math.BigInteger
			BigInteger ans=1;
                                       ^
0_0_1543894_21625\Main.java:14: 不可比较的类型:java.math.BigInteger 和 int
			if(a == 0)
                             ^
0_0_1543894_21625\Main.java:18: 不兼容的类型
找到: int
需要: java.math.BigInteger
			for(BigInteger i =1;i<=a;i.add(1))
                                          ^
0_0_1543894_21625\Main.java:18: 运算符 <= 不能应用于 java.math.BigInteger,java.math.BigInteger
			for(BigInteger i =1;i<=a;i.add(1))
                                             ^
0_0_1543894_21625\Main.java:18: 找不到符号
符号: 方法 add(int)
位置: 类 java.math.BigInteger
			for(BigInteger i =1;i<=a;i.add(1))
                                                  ^
5 错误


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-30 06:53:16, Gzip enabled