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_37789981_9175\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_37789981_9175\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_37789981_9175\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_37789981_9175\Main.java:6: 错误: 需要class, interface或enum
    lena = strlen(a);
    ^
0_0_37789981_9175\Main.java:7: 错误: 需要class, interface或enum
    lenb = strlen(b);
    ^
0_0_37789981_9175\Main.java:8: 错误: 需要class, interface或enum
    if (lena > lenb)
    ^
0_0_37789981_9175\Main.java:10: 错误: 需要class, interface或enum
    if (lena < lenb)
    ^
0_0_37789981_9175\Main.java:12: 错误: 需要class, interface或enum
    for (int i = 0; i < lena; i++)
    ^
0_0_37789981_9175\Main.java:12: 错误: 需要class, interface或enum
    for (int i = 0; i < lena; i++)
                    ^
0_0_37789981_9175\Main.java:12: 错误: 需要class, interface或enum
    for (int i = 0; i < lena; i++)
                              ^
0_0_37789981_9175\Main.java:16: 错误: 需要class, interface或enum
        if (a[i] < b[i])
        ^
0_0_37789981_9175\Main.java:18: 错误: 需要class, interface或enum
    }
    ^
0_0_37789981_9175\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_37789981_9175\Main.java:24: 错误: 需要class, interface或enum
    int s[500][110], i, j, c, p, k, sum, t = 1;
    ^
0_0_37789981_9175\Main.java:25: 错误: 需要class, interface或enum
    strcpy(fib[1], "1");
    ^
0_0_37789981_9175\Main.java:26: 错误: 需要class, interface或enum
    strcpy(fib[2], "2");
    ^
0_0_37789981_9175\Main.java:27: 错误: 需要class, interface或enum
    memset(s, 0, sizeof(s));
    ^
0_0_37789981_9175\Main.java:28: 错误: 需要class, interface或enum
    s[1][0] = 1, s[2][0] = 2;
    ^
0_0_37789981_9175\Main.java:29: 错误: 需要class, interface或enum
    for (i = 3; i < 500; i++)
    ^
0_0_37789981_9175\Main.java:29: 错误: 需要class, interface或enum
    for (i = 3; i < 500; i++)
                ^
0_0_37789981_9175\Main.java:29: 错误: 需要class, interface或enum
    for (i = 3; i < 500; i++)
                         ^
0_0_37789981_9175\Main.java:32: 错误: 需要class, interface或enum
        for (j = 0; j < t; j++)
        ^
0_0_37789981_9175\Main.java:32: 错误: 需要class, interface或enum
        for (j = 0; j < t; j++)
                    ^
0_0_37789981_9175\Main.java:32: 错误: 需要class, interface或enum
        for (j = 0; j < t; j++)
                           ^
0_0_37789981_9175\Main.java:35: 错误: 需要class, interface或enum
            c = s[i][j] / 10;
            ^
0_0_37789981_9175\Main.java:36: 错误: 需要class, interface或enum
            s[i][j] %= 10;
            ^
0_0_37789981_9175\Main.java:37: 错误: 需要class, interface或enum
        }
        ^
0_0_37789981_9175\Main.java:40: 错误: 需要class, interface或enum
        p = t - 1;
        ^
0_0_37789981_9175\Main.java:41: 错误: 需要class, interface或enum
        k = 0;
        ^
0_0_37789981_9175\Main.java:42: 错误: 需要class, interface或enum
        while (p >= 0)
        ^
0_0_37789981_9175\Main.java:44: 错误: 需要class, interface或enum
        fib[i][k] = '\0';
        ^
0_0_37789981_9175\Main.java:45: 错误: 需要class, interface或enum
    }
    ^
0_0_37789981_9175\Main.java:49: 错误: 需要class, interface或enum
        for (i = 1; i < 500; i++)
        ^
0_0_37789981_9175\Main.java:49: 错误: 需要class, interface或enum
        for (i = 1; i < 500; i++)
                    ^
0_0_37789981_9175\Main.java:49: 错误: 需要class, interface或enum
        for (i = 1; i < 500; i++)
                             ^
0_0_37789981_9175\Main.java:53: 错误: 需要class, interface或enum
            if (!cmp(b, fib[i]))
            ^
0_0_37789981_9175\Main.java:55: 错误: 需要class, interface或enum
        }
        ^
0_0_37789981_9175\Main.java:57: 错误: 需要class, interface或enum
    }
    ^
0_0_37789981_9175\Main.java:59: 错误: 需要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-05 12:11:24, Gzip enabled