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_36389711_24084\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_36389711_24084\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_36389711_24084\Main.java:2: 错误: 非法字符: '#'
#include<map>
^
0_0_36389711_24084\Main.java:4: 错误: 需要class, interface或enum
const int maxn = 10000010;
^
0_0_36389711_24084\Main.java:5: 错误: 需要class, interface或enum
int Trie[maxn][26];
^
0_0_36389711_24084\Main.java:6: 错误: 需要class, interface或enum
int ind = 0;
^
0_0_36389711_24084\Main.java:7: 错误: 需要class, interface或enum
int cnt[maxn];
^
0_0_36389711_24084\Main.java:8: 错误: 需要class, interface或enum
string num;
^
0_0_36389711_24084\Main.java:9: 错误: 需要class, interface或enum
map<char, string> p;
^
0_0_36389711_24084\Main.java:10: 错误: 需要class, interface或enum
string ans = "";
^
0_0_36389711_24084\Main.java:11: 错误: 需要class, interface或enum
int Max = -1;
^
0_0_36389711_24084\Main.java:12: 错误: 需要class, interface或enum
void init(){
^
0_0_36389711_24084\Main.java:14: 错误: 需要class, interface或enum
    p['3'] = "def";
    ^
0_0_36389711_24084\Main.java:15: 错误: 需要class, interface或enum
    p['4'] = "ghi";
    ^
0_0_36389711_24084\Main.java:16: 错误: 需要class, interface或enum
    p['5'] = "jkl";
    ^
0_0_36389711_24084\Main.java:17: 错误: 需要class, interface或enum
    p['6'] = "mno";
    ^
0_0_36389711_24084\Main.java:18: 错误: 需要class, interface或enum
    p['7'] = "pqrs";
    ^
0_0_36389711_24084\Main.java:19: 错误: 需要class, interface或enum
    p['8'] = "tuv";
    ^
0_0_36389711_24084\Main.java:20: 错误: 需要class, interface或enum
    p['9'] = "wxyz";
    ^
0_0_36389711_24084\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_36389711_24084\Main.java:24: 错误: 需要class, interface或enum
    for(int i = 0; i < s.size(); i++){
    ^
0_0_36389711_24084\Main.java:24: 错误: 需要class, interface或enum
    for(int i = 0; i < s.size(); i++){
                   ^
0_0_36389711_24084\Main.java:24: 错误: 需要class, interface或enum
    for(int i = 0; i < s.size(); i++){
                                 ^
0_0_36389711_24084\Main.java:26: 错误: 需要class, interface或enum
        if(!Trie[p][c]){
        ^
0_0_36389711_24084\Main.java:28: 错误: 需要class, interface或enum
        }
        ^
0_0_36389711_24084\Main.java:30: 错误: 需要class, interface或enum
        cnt[p] += times;
        ^
0_0_36389711_24084\Main.java:31: 错误: 需要class, interface或enum
    }
    ^
0_0_36389711_24084\Main.java:38: 错误: 需要class, interface或enum
            ans = s;
            ^
0_0_36389711_24084\Main.java:39: 错误: 需要class, interface或enum
        }
        ^
0_0_36389711_24084\Main.java:41: 错误: 需要class, interface或enum
    }
    ^
0_0_36389711_24084\Main.java:45: 错误: 需要class, interface或enum
    for(int i = 0; i < key.size(); i++){
    ^
0_0_36389711_24084\Main.java:45: 错误: 需要class, interface或enum
    for(int i = 0; i < key.size(); i++){
                   ^
0_0_36389711_24084\Main.java:45: 错误: 需要class, interface或enum
    for(int i = 0; i < key.size(); i++){
                                   ^
0_0_36389711_24084\Main.java:47: 错误: 需要class, interface或enum
        if(Trie[pos][c]){
        ^
0_0_36389711_24084\Main.java:49: 错误: 需要class, interface或enum
        }
        ^
0_0_36389711_24084\Main.java:54: 错误: 需要class, interface或enum
    cin >> T;
    ^
0_0_36389711_24084\Main.java:55: 错误: 需要class, interface或enum
    int k = 1;
    ^
0_0_36389711_24084\Main.java:56: 错误: 需要class, interface或enum
    init();
    ^
0_0_36389711_24084\Main.java:57: 错误: 需要class, interface或enum
    while(T--){
    ^
0_0_36389711_24084\Main.java:59: 错误: 需要class, interface或enum
        memset(cnt, 0, sizeof cnt);
        ^
0_0_36389711_24084\Main.java:60: 错误: 需要class, interface或enum
        int n, times; cin >> n;
        ^
0_0_36389711_24084\Main.java:60: 错误: 需要class, interface或enum
        int n, times; cin >> n;
                      ^
0_0_36389711_24084\Main.java:61: 错误: 需要class, interface或enum
        string s;
        ^
0_0_36389711_24084\Main.java:62: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
        ^
0_0_36389711_24084\Main.java:62: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
                       ^
0_0_36389711_24084\Main.java:62: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
                              ^
0_0_36389711_24084\Main.java:64: 错误: 需要class, interface或enum
            string tmp = "";
            ^
0_0_36389711_24084\Main.java:65: 错误: 需要class, interface或enum
            insert(s, times);
            ^
0_0_36389711_24084\Main.java:66: 错误: 需要class, interface或enum
        }
        ^
0_0_36389711_24084\Main.java:68: 错误: 需要class, interface或enum
        cin >> n;
        ^
0_0_36389711_24084\Main.java:69: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
        ^
0_0_36389711_24084\Main.java:69: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
                       ^
0_0_36389711_24084\Main.java:69: 错误: 需要class, interface或enum
        for(int i = 0; i < n; i++){
                              ^
0_0_36389711_24084\Main.java:71: 错误: 需要class, interface或enum
            for(int j = 1; j < num.size(); j++){
            ^
0_0_36389711_24084\Main.java:71: 错误: 需要class, interface或enum
            for(int j = 1; j < num.size(); j++){
                           ^
0_0_36389711_24084\Main.java:71: 错误: 需要class, interface或enum
            for(int j = 1; j < num.size(); j++){
                                           ^
0_0_36389711_24084\Main.java:73: 错误: 需要class, interface或enum
                string tmp = "";
                ^
0_0_36389711_24084\Main.java:74: 错误: 需要class, interface或enum
                ans = "";
                ^
0_0_36389711_24084\Main.java:75: 错误: 需要class, interface或enum
                dfs(0, 0, j, tmp);
                ^
0_0_36389711_24084\Main.java:76: 错误: 需要class, interface或enum
                if(Max != -1){
                ^
0_0_36389711_24084\Main.java:78: 错误: 需要class, interface或enum
                }else{
                ^
0_0_36389711_24084\Main.java:80: 错误: 需要class, interface或enum
                }
                ^
0_0_36389711_24084\Main.java:85: 错误: 需要class, interface或enum
}
^
63 个错误


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-22 23:51:56, Gzip enabled