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_39742953_6044\Main.java:34: 错误: 需要class, interface或enum
op = fin.next();
^
0_0_39742953_6044\Main.java:35: 错误: 需要class, interface或enum
if (Same(op, "IN")) {
^
0_0_39742953_6044\Main.java:38: 错误: 需要class, interface或enum
    qu.offer(num); // 进队 qu
    ^
0_0_39742953_6044\Main.java:39: 错误: 需要class, interface或enum
} else if (qu.isEmpty()) {
^
0_0_39742953_6044\Main.java:42: 错误: 需要class, interface或enum
} else {
^
0_0_39742953_6044\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_39742953_6044\Main.java:48: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++) {
                ^
0_0_39742953_6044\Main.java:48: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++) {
                       ^
0_0_39742953_6044\Main.java:50: 错误: 需要class, interface或enum
    if (Same(op, "IN")) {
    ^
0_0_39742953_6044\Main.java:53: 错误: 需要class, interface或enum
        st.push(num); // 进栈 st
        ^
0_0_39742953_6044\Main.java:54: 错误: 需要class, interface或enum
    } else if (st.isEmpty()) {
    ^
0_0_39742953_6044\Main.java:57: 错误: 需要class, interface或enum
    } else {
    ^
0_0_39742953_6044\Main.java:60: 错误: 需要class, interface或enum
    }
    ^
13 个错误


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-18 01:45:00, Gzip enabled