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_38247153_15252\Main.java:5: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_38247153_15252\Main.java:5: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_38247153_15252\Main.java:8: 错误: 需要class, interface或enum
string str;
^
0_0_38247153_15252\Main.java:9: 错误: 需要class, interface或enum
int n;
^
0_0_38247153_15252\Main.java:10: 错误: 需要class, interface或enum
vector<int> ve;
^
0_0_38247153_15252\Main.java:11: 错误: 需要class, interface或enum
stack<int> st;
^
0_0_38247153_15252\Main.java:12: 错误: 需要class, interface或enum
int main()
^
0_0_38247153_15252\Main.java:15: 错误: 需要class, interface或enum
    while (n--)
    ^
0_0_38247153_15252\Main.java:18: 错误: 需要class, interface或enum
        int len = str.length();
        ^
0_0_38247153_15252\Main.java:20: 错误: 需要class, interface或enum
        if (len == 3)
        ^
0_0_38247153_15252\Main.java:25: 错误: 需要class, interface或enum
                continue;
                ^
0_0_38247153_15252\Main.java:26: 错误: 需要class, interface或enum
            }
            ^
0_0_38247153_15252\Main.java:28: 错误: 需要class, interface或enum
            st.pop();
            ^
0_0_38247153_15252\Main.java:29: 错误: 需要class, interface或enum
            ve.erase(lower_bound(ve.begin(), ve.end(), temp));
            ^
0_0_38247153_15252\Main.java:30: 错误: 需要class, interface或enum
            printf("%d\n", temp);
            ^
0_0_38247153_15252\Main.java:31: 错误: 需要class, interface或enum
        }
        ^
0_0_38247153_15252\Main.java:38: 错误: 需要class, interface或enum
                continue;
                ^
0_0_38247153_15252\Main.java:39: 错误: 需要class, interface或enum
            }
            ^
0_0_38247153_15252\Main.java:41: 错误: 需要class, interface或enum
            printf("%d\n", ve[(L + 1) / 2 - 1]);
            ^
0_0_38247153_15252\Main.java:42: 错误: 需要class, interface或enum
        }
        ^
0_0_38247153_15252\Main.java:47: 错误: 需要class, interface或enum
            scanf("%d", &m);
            ^
0_0_38247153_15252\Main.java:48: 错误: 需要class, interface或enum
            st.push(m);
            ^
0_0_38247153_15252\Main.java:49: 错误: 需要class, interface或enum
            ve.insert(lower_bound(ve.begin(), ve.end(), m), m);
            ^
0_0_38247153_15252\Main.java:50: 错误: 需要class, interface或enum
        }
        ^
0_0_38247153_15252\Main.java:54: 错误: 需要class, interface或enum
}
^
25 个错误


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-29 09:07:04, Gzip enabled