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

660683_0_0_1542\Main.java:20: 需要数组,但找到 java.lang.String
            if(x[i]==y[j]) c[i][j]=c[i-1][j-1]+1;
                ^
660683_0_0_1542\Main.java:20: 需要数组,但找到 java.lang.String
            if(x[i]==y[j]) c[i][j]=c[i-1][j-1]+1;
                      ^
660683_0_0_1542\Main.java:25: 已在 main(java.lang.String[]) 中定义 x
  String x=cin.next();
         ^
660683_0_0_1542\Main.java:26: 已在 main(java.lang.String[]) 中定义 y
  String y=cin.next();
         ^
4 错误


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-13 07:54:06, Gzip enabled