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

660650_0_0_25207\Main.java:10: 不兼容的类型
找到: java.lang.String
需要: char[]
while((x=cin.next())&&(y=cin.next()))
                 ^
660650_0_0_25207\Main.java:10: 不兼容的类型
找到: java.lang.String
需要: char[]
while((x=cin.next())&&(y=cin.next()))
                                 ^
660650_0_0_25207\Main.java:10: 运算符 && 不能应用于 char[],char[]
while((x=cin.next())&&(y=cin.next()))
                    ^
660650_0_0_25207\Main.java:12: 找不到符号
符号: 方法 length()
位置: 类 char[]
    int m=x.length()-1;
           ^
660650_0_0_25207\Main.java:13: 找不到符号
符号: 方法 length()
位置: 类 char[]
    int n=y.length()-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-26 06:55:05, Gzip enabled