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_39395424_19052\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_39395424_19052\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_39395424_19052\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_39395424_19052\Main.java:4: 错误: 非法字符: '#'
#define MAX_LEN 1001
^
0_0_39395424_19052\Main.java:5: 错误: 非法字符: '#'
#define MOD 1000000007
^
0_0_39395424_19052\Main.java:9: 错误: 需要class, interface或enum
void initFact() {
^
0_0_39395424_19052\Main.java:12: 错误: 需要class, interface或enum
    for (int i = 1; i <= 500; i++) {
    ^
0_0_39395424_19052\Main.java:12: 错误: 需要class, interface或enum
    for (int i = 1; i <= 500; i++) {
                    ^
0_0_39395424_19052\Main.java:12: 错误: 需要class, interface或enum
    for (int i = 1; i <= 500; i++) {
                              ^
0_0_39395424_19052\Main.java:14: 错误: 需要class, interface或enum
    }
    ^
0_0_39395424_19052\Main.java:21: 错误: 需要class, interface或enum
    a %= MOD;
    ^
0_0_39395424_19052\Main.java:32: 错误: 需要class, interface或enum
    while (b != 0) {
    ^
0_0_39395424_19052\Main.java:38: 错误: 需要class, interface或enum
        }
        ^
0_0_39395424_19052\Main.java:42: 错误: 需要class, interface或enum
        b /= 2; // 幂4 变为 2  // 位运算优化: b>>=1
        ^
0_0_39395424_19052\Main.java:43: 错误: 需要class, interface或enum
    }
    ^
0_0_39395424_19052\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_39395424_19052\Main.java:51: 错误: 需要class, interface或enum
    for (int i = 0; i < strlen(s); i++) {
    ^
0_0_39395424_19052\Main.java:51: 错误: 需要class, interface或enum
    for (int i = 0; i < strlen(s); i++) {
                    ^
0_0_39395424_19052\Main.java:51: 错误: 需要class, interface或enum
    for (int i = 0; i < strlen(s); i++) {
                                   ^
0_0_39395424_19052\Main.java:53: 错误: 需要class, interface或enum
        count[c - 'a']++;
        ^
0_0_39395424_19052\Main.java:54: 错误: 需要class, interface或enum
    }
    ^
0_0_39395424_19052\Main.java:58: 错误: 需要class, interface或enum
    for (int i = 0; i < 26; i++) {
    ^
0_0_39395424_19052\Main.java:58: 错误: 需要class, interface或enum
    for (int i = 0; i < 26; i++) {
                    ^
0_0_39395424_19052\Main.java:58: 错误: 需要class, interface或enum
    for (int i = 0; i < 26; i++) {
                            ^
0_0_39395424_19052\Main.java:61: 错误: 需要class, interface或enum
        }
        ^
0_0_39395424_19052\Main.java:64: 错误: 需要class, interface或enum
    }
    ^
0_0_39395424_19052\Main.java:69: 错误: 需要class, interface或enum
    }
    ^
0_0_39395424_19052\Main.java:73: 错误: 需要class, interface或enum
    for (int i = 0; i < 26; i++) {
    ^
0_0_39395424_19052\Main.java:73: 错误: 需要class, interface或enum
    for (int i = 0; i < 26; i++) {
                    ^
0_0_39395424_19052\Main.java:73: 错误: 需要class, interface或enum
    for (int i = 0; i < 26; i++) {
                            ^
0_0_39395424_19052\Main.java:80: 错误: 需要class, interface或enum
    }
    ^
0_0_39395424_19052\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_39395424_19052\Main.java:90: 错误: 需要class, interface或enum
    int t;
    ^
0_0_39395424_19052\Main.java:91: 错误: 需要class, interface或enum
    scanf("%d", &t);
    ^
0_0_39395424_19052\Main.java:93: 错误: 需要class, interface或enum
    while (t--) {
    ^
0_0_39395424_19052\Main.java:95: 错误: 需要class, interface或enum
        scanf("%s", s);
        ^
0_0_39395424_19052\Main.java:97: 错误: 需要class, interface或enum
        printf("%lld\n", solution(s));
        ^
0_0_39395424_19052\Main.java:98: 错误: 需要class, interface或enum
    }
    ^
0_0_39395424_19052\Main.java:101: 错误: 需要class, interface或enum
}
^
39 个错误


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-12-02 09:34:22, Gzip enabled