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_37330715_31383\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_37330715_31383\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_37330715_31383\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_37330715_31383\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_37330715_31383\Main.java:7: 错误: 需要class, interface或enum
const int maxn = 25;
^
0_0_37330715_31383\Main.java:9: 错误: 需要class, interface或enum
int prime[maxn]= {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97};
^
0_0_37330715_31383\Main.java:10: 错误: 需要class, interface或enum
int A[maxn+1], B[maxn+1];
^
0_0_37330715_31383\Main.java:11: 错误: 需要class, interface或enum
int ans[maxn+1];
^
0_0_37330715_31383\Main.java:12: 错误: 需要class, interface或enum
string s1, s2;
^
0_0_37330715_31383\Main.java:14: 错误: 需要class, interface或enum
void prework(int tmp[], string s) {
^
0_0_37330715_31383\Main.java:16: 错误: 需要class, interface或enum
    int now = 0;
    ^
0_0_37330715_31383\Main.java:17: 错误: 需要class, interface或enum
    int digit = 0;
    ^
0_0_37330715_31383\Main.java:18: 错误: 需要class, interface或enum
    for(int i=s.length()-1; i>=0; i--) {
    ^
0_0_37330715_31383\Main.java:18: 错误: 需要class, interface或enum
    for(int i=s.length()-1; i>=0; i--) {
                            ^
0_0_37330715_31383\Main.java:18: 错误: 需要class, interface或enum
    for(int i=s.length()-1; i>=0; i--) {
                                  ^
0_0_37330715_31383\Main.java:21: 错误: 需要class, interface或enum
            now = 0;
            ^
0_0_37330715_31383\Main.java:22: 错误: 需要class, interface或enum
            digit = 0;
            ^
0_0_37330715_31383\Main.java:23: 错误: 需要class, interface或enum
        } else {
        ^
0_0_37330715_31383\Main.java:25: 错误: 需要class, interface或enum
            digit++;
            ^
0_0_37330715_31383\Main.java:26: 错误: 需要class, interface或enum
        }
        ^
0_0_37330715_31383\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_37330715_31383\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0; i<maxn; i++) {
    ^
0_0_37330715_31383\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0; i<maxn; i++) {
                 ^
0_0_37330715_31383\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0; i<maxn; i++) {
                         ^
0_0_37330715_31383\Main.java:36: 错误: 需要class, interface或enum
        }
        ^
0_0_37330715_31383\Main.java:38: 错误: 需要class, interface或enum
    }
    ^
0_0_37330715_31383\Main.java:43: 错误: 需要class, interface或enum
    for(int i=maxn; i>=0; i--) {
    ^
0_0_37330715_31383\Main.java:43: 错误: 需要class, interface或enum
    for(int i=maxn; i>=0; i--) {
                    ^
0_0_37330715_31383\Main.java:43: 错误: 需要class, interface或enum
    for(int i=maxn; i>=0; i--) {
                          ^
0_0_37330715_31383\Main.java:46: 错误: 需要class, interface或enum
            flag = 1;
            ^
0_0_37330715_31383\Main.java:47: 错误: 需要class, interface或enum
        } else if(flag) {
        ^
0_0_37330715_31383\Main.java:49: 错误: 需要class, interface或enum
        }
        ^
0_0_37330715_31383\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_37330715_31383\Main.java:57: 错误: 需要class, interface或enum
    while(s1.compare("0") && s2.compare("0")) {
    ^
0_0_37330715_31383\Main.java:60: 错误: 需要class, interface或enum
        prework(A, s1);
        ^
0_0_37330715_31383\Main.java:61: 错误: 需要class, interface或enum
        memset(B, 0, sizeof(B));
        ^
0_0_37330715_31383\Main.java:62: 错误: 需要class, interface或enum
        prework(B, s2);
        ^
0_0_37330715_31383\Main.java:63: 错误: 需要class, interface或enum
        mainwork();
        ^
0_0_37330715_31383\Main.java:64: 错误: 需要class, interface或enum
        print();
        ^
0_0_37330715_31383\Main.java:66: 错误: 需要class, interface或enum
        cin>>s1>>s2;
        ^
0_0_37330715_31383\Main.java:67: 错误: 需要class, interface或enum
    }
    ^
0_0_37330715_31383\Main.java:70: 错误: 需要class, interface或enum
}
^
42 个错误


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-17 00:25:54, Gzip enabled