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 个错误
|