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_22397826_28166\Main.java:21: 错误: 不兼容的类型: String无法转换为String[]
         		String[] str=new String("");
         		             ^
0_0_22397826_28166\Main.java:23: 错误: 二元运算符 '+' 的操作数类型错误
         		str+='9';
         		   ^
  第一个类型:  String[]
  第二个类型: char
0_0_22397826_28166\Main.java:25: 错误: 对于BigInteger(String[]), 找不到合适的构造器
         		BigInteger b = new BigInteger(str);
         		               ^
    构造器 BigInteger.BigInteger(byte[])不适用
      (参数不匹配; String[]无法转换为byte[])
    构造器 BigInteger.BigInteger(int[])不适用
      (参数不匹配; String[]无法转换为int[])
    构造器 BigInteger.BigInteger(String)不适用
      (参数不匹配; String[]无法转换为String)
    构造器 BigInteger.BigInteger(long)不适用
      (参数不匹配; String[]无法转换为long)
0_0_22397826_28166\Main.java:28: 错误: 不兼容的类型: String无法转换为String[]
			 String[] ss=s.toString();
			                       ^
0_0_22397826_28166\Main.java:29: 错误: 二元运算符 '-' 的操作数类型错误
         	for(int i=1;i<=ss-'0';i++)
         	                 ^
  第一个类型:  String[]
  第二个类型: char
注: 某些消息已经过简化; 请使用 -Xdiags:verbose 重新编译以获得完整输出
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-09-20 16:41:49, Gzip enabled