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

0_0_1120485_20710\Main.java:4: 类 AB 是公共的,应在名为 AB.java 的文件中声明
public class AB{
       ^
0_0_1120485_20710\Main.java:6: java.io.InputStream 是抽象的;无法对其进行实例化
    BufferedReader stdIn =  new BufferedReader(new InputStream(System.in));
                                               ^
0_0_1120485_20710\Main.java:9: 无法从静态上下文中引用非静态 变量 stdIn
          String input = stdIn.readln();
                         ^
0_0_1120485_20710\Main.java:9: 找不到符号
符号: 方法 readln()
位置: 类 java.io.BufferedReader
          String input = stdIn.readln();
                              ^
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-30 05:38:51, Gzip enabled