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

973288_0_0_22781\Main.java:2: 类 cao 是公共的,应在名为 cao.java 的文件中声明
public class  cao{
       ^
973288_0_0_22781\Main.java:10: 不兼容的类型
找到: int
需要: int[]
   a=a[i-1]+a[i-2];
           ^
973288_0_0_22781\Main.java:13: 不兼容的类型
找到: int
需要: int[]
      b=Integer.parseInt(de.readLine());
                        ^
973288_0_0_22781\Main.java:17: 不兼容的类型
找到: int[]
需要: int
    if(a[b]%3==0)
         ^
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-25 09:35:02, Gzip enabled