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_15787866_5772\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_15787866_5772\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_15787866_5772\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_15787866_5772\Main.java:5: 错误: 需要class, interface或enum
int num[100];
^
0_0_15787866_5772\Main.java:7: 错误: 需要class, interface或enum
long long cal(long long x){
^
0_0_15787866_5772\Main.java:8: 错误: 需要class, interface或enum
    if (x < 49){return 0;}
                         ^
0_0_15787866_5772\Main.java:9: 错误: 需要class, interface或enum
    if (x < 149){return 1;}
                          ^
0_0_15787866_5772\Main.java:11: 错误: 需要class, interface或enum
    long long xx = x;int l = 0;
                     ^
0_0_15787866_5772\Main.java:12: 错误: 需要class, interface或enum
    memset(num,0,sizeof(num));
    ^
0_0_15787866_5772\Main.java:14: 错误: 需要class, interface或enum
    while (xx > 0){
    ^
0_0_15787866_5772\Main.java:16: 错误: 需要class, interface或enum
        xx = xx / 10;
        ^
0_0_15787866_5772\Main.java:17: 错误: 需要class, interface或enum
    }
    ^
0_0_15787866_5772\Main.java:20: 错误: 需要class, interface或enum
    for (int i=1;i<=l;i++){
    ^
0_0_15787866_5772\Main.java:20: 错误: 需要class, interface或enum
    for (int i=1;i<=l;i++){
                 ^
0_0_15787866_5772\Main.java:20: 错误: 需要class, interface或enum
    for (int i=1;i<=l;i++){
                      ^
0_0_15787866_5772\Main.java:21: 错误: 需要class, interface或enum
        if (num[l-i+1] == 0){continue;}
                                      ^
0_0_15787866_5772\Main.java:22: 错误: 需要class, interface或enum
        for (int j=1;j<=l-i+1;j++){
                     ^
0_0_15787866_5772\Main.java:22: 错误: 需要class, interface或enum
        for (int j=1;j<=l-i+1;j++){
                              ^
0_0_15787866_5772\Main.java:23: 错误: 需要class, interface或enum
            int l1 = 1;int r1 = (j == l-i+1 ? num[l-i+1]-1 : 9);
                       ^
0_0_15787866_5772\Main.java:24: 错误: 需要class, interface或enum
            for (int k=l1;k<=r1;k++){
            ^
0_0_15787866_5772\Main.java:24: 错误: 需要class, interface或enum
            for (int k=l1;k<=r1;k++){
                          ^
0_0_15787866_5772\Main.java:24: 错误: 需要class, interface或enum
            for (int k=l1;k<=r1;k++){
                                ^
0_0_15787866_5772\Main.java:26: 错误: 需要class, interface或enum
            }
            ^
0_0_15787866_5772\Main.java:30: 错误: 需要class, interface或enum
        }
        ^
0_0_15787866_5772\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_15787866_5772\Main.java:38: 错误: 需要class, interface或enum
    freopen("","w",stdout);
    ^
0_0_15787866_5772\Main.java:39: 错误: 需要class, interface或enum
    memset(f,0,sizeof(f));
    ^
0_0_15787866_5772\Main.java:40: 错误: 需要class, interface或enum
    for (int i=0;i<=9;i++){f[1][i] = 1;}
    ^
0_0_15787866_5772\Main.java:40: 错误: 需要class, interface或enum
    for (int i=0;i<=9;i++){f[1][i] = 1;}
                 ^
0_0_15787866_5772\Main.java:40: 错误: 需要class, interface或enum
    for (int i=0;i<=9;i++){f[1][i] = 1;}
                      ^
0_0_15787866_5772\Main.java:40: 错误: 需要class, interface或enum
    for (int i=0;i<=9;i++){f[1][i] = 1;}
                                       ^
0_0_15787866_5772\Main.java:42: 错误: 需要class, interface或enum
    for (int i=2;i<=lmax;i++){
    ^
0_0_15787866_5772\Main.java:42: 错误: 需要class, interface或enum
    for (int i=2;i<=lmax;i++){
                 ^
0_0_15787866_5772\Main.java:42: 错误: 需要class, interface或enum
    for (int i=2;i<=lmax;i++){
                         ^
0_0_15787866_5772\Main.java:43: 错误: 需要class, interface或enum
        for (int j=0;j<=9;j++){
                     ^
0_0_15787866_5772\Main.java:43: 错误: 需要class, interface或enum
        for (int j=0;j<=9;j++){
                          ^
0_0_15787866_5772\Main.java:46: 错误: 需要class, interface或enum
            }else{
            ^
0_0_15787866_5772\Main.java:48: 错误: 需要class, interface或enum
                for (int k=0;k<=9;k++){
                ^
0_0_15787866_5772\Main.java:48: 错误: 需要class, interface或enum
                for (int k=0;k<=9;k++){
                             ^
0_0_15787866_5772\Main.java:48: 错误: 需要class, interface或enum
                for (int k=0;k<=9;k++){
                                  ^
0_0_15787866_5772\Main.java:50: 错误: 需要class, interface或enum
                }
                ^
0_0_15787866_5772\Main.java:51: 错误: 需要class, interface或enum
                if (j == 4){f[i][j] = f[i][j] - f[i-1][9];}
                                                          ^
0_0_15787866_5772\Main.java:57: 错误: 需要class, interface或enum
    scanf("%d",&n);
    ^
0_0_15787866_5772\Main.java:58: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
    ^
0_0_15787866_5772\Main.java:58: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
                ^
0_0_15787866_5772\Main.java:58: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
                     ^
0_0_15787866_5772\Main.java:60: 错误: 需要class, interface或enum
        scanf("%I64d",&a);
        ^
0_0_15787866_5772\Main.java:61: 错误: 需要class, interface或enum
        printf("%I64d\n",cal(a));
        ^
0_0_15787866_5772\Main.java:62: 错误: 需要class, interface或enum
    }
    ^
49 个错误


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 10:50:50, Gzip enabled