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_23261413_13819\Main.java:1: 错误: 非法字符: '#'
#include <string.h>
^
0_0_23261413_13819\Main.java:1: 错误: 需要class, interface或enum
#include <string.h>
         ^
0_0_23261413_13819\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_23261413_13819\Main.java:6: 错误: 需要class, interface或enum
int ll(int a) {
^
0_0_23261413_13819\Main.java:8: 错误: 需要class, interface或enum
    while (a != 1 && i * i <= a) {
    ^
0_0_23261413_13819\Main.java:11: 错误: 需要class, interface或enum
            if (ih != i) {
            ^
0_0_23261413_13819\Main.java:13: 错误: 需要class, interface或enum
                count++;
                ^
0_0_23261413_13819\Main.java:14: 错误: 需要class, interface或enum
                continue;
                ^
0_0_23261413_13819\Main.java:15: 错误: 需要class, interface或enum
            }
            ^
0_0_23261413_13819\Main.java:18: 错误: 需要class, interface或enum
    }
    ^
0_0_23261413_13819\Main.java:20: 错误: 需要class, interface或enum
    return count;
    ^
0_0_23261413_13819\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_23261413_13819\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_23261413_13819\Main.java:29: 错误: 需要class, interface或enum
    cin >> n;
    ^
0_0_23261413_13819\Main.java:30: 错误: 需要class, interface或enum
    while (n--) {
    ^
0_0_23261413_13819\Main.java:32: 错误: 需要class, interface或enum
        cin >> k;
        ^
0_0_23261413_13819\Main.java:33: 错误: 需要class, interface或enum
        int res[1005];
        ^
0_0_23261413_13819\Main.java:34: 错误: 需要class, interface或enum
        char name[1005][20];
        ^
0_0_23261413_13819\Main.java:35: 错误: 需要class, interface或enum
        for (int i = 0; i < k; ++i) {
        ^
0_0_23261413_13819\Main.java:35: 错误: 需要class, interface或enum
        for (int i = 0; i < k; ++i) {
                        ^
0_0_23261413_13819\Main.java:35: 错误: 需要class, interface或enum
        for (int i = 0; i < k; ++i) {
                               ^
0_0_23261413_13819\Main.java:37: 错误: 需要class, interface或enum
        }
        ^
0_0_23261413_13819\Main.java:39: 错误: 需要class, interface或enum
        strcpy(max, name[0]);
        ^
0_0_23261413_13819\Main.java:40: 错误: 需要class, interface或enum
        int maxi = res[0];
        ^
0_0_23261413_13819\Main.java:41: 错误: 需要class, interface或enum
        for (int j = 1; j < k; ++j) {
        ^
0_0_23261413_13819\Main.java:41: 错误: 需要class, interface或enum
        for (int j = 1; j < k; ++j) {
                        ^
0_0_23261413_13819\Main.java:41: 错误: 需要class, interface或enum
        for (int j = 1; j < k; ++j) {
                               ^
0_0_23261413_13819\Main.java:44: 错误: 需要class, interface或enum
                maxi = res[j];
                ^
0_0_23261413_13819\Main.java:45: 错误: 需要class, interface或enum
            } else if (ll(res[j]) == ll(maxi) && cmp(max, name[j])) {
            ^
0_0_23261413_13819\Main.java:47: 错误: 需要class, interface或enum
            }
            ^
0_0_23261413_13819\Main.java:50: 错误: 需要class, interface或enum
    }
    ^
0_0_23261413_13819\Main.java:52: 错误: 需要class, interface或enum
}
^
32 个错误


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-23 09:42:14, Gzip enabled