/ Vijos /

记录详情

Compile Error

/in/Main.java:12: error: cannot find symbol
		String q = c.subString(0, c.length() - 1);
		            ^
  symbol:   method subString(int,int)
  location: variable c of type String
/in/Main.java:15: error: cannot find symbol
		allNum = allNum.subString(0, allNum.length() - 1);
		               ^
  symbol:   method subString(int,int)
  location: variable allNum of type String
/in/Main.java:16: error: incompatible types: char cannot be converted to String
		String LAST = allNum.charAt(c.length() - 1);
		                           ^
/in/Main.java:18: error: incompatible types: char cannot be converted to String
			String thisn = allNum.charAt(i);
			                            ^
4 errors

信息

递交者
类型
递交
题目
P1484 ISBN号码
语言
Java
递交时间
2019-03-02 12:36:56
评测时间
2019-03-02 12:36:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes