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_34891380_1759\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_34891380_1759\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_34891380_1759\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_34891380_1759\Main.java:5: 错误: 非法字符: '#'
#define MAX 10005
^
0_0_34891380_1759\Main.java:5: 错误: 需要class, interface或enum
#define MAX 10005
        ^
0_0_34891380_1759\Main.java:8: 错误: 需要class, interface或enum
int num_prime = 2;
^
0_0_34891380_1759\Main.java:10: 错误: 需要class, interface或enum
int Isprime(int a)
^
0_0_34891380_1759\Main.java:14: 错误: 需要class, interface或enum
    }
    ^
0_0_34891380_1759\Main.java:15: 错误: 需要class, interface或enum
    for(int i = 0; i < num_prime%100; i++) {
                   ^
0_0_34891380_1759\Main.java:15: 错误: 需要class, interface或enum
    for(int i = 0; i < num_prime%100; i++) {
                                      ^
0_0_34891380_1759\Main.java:18: 错误: 需要class, interface或enum
        }
        ^
0_0_34891380_1759\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_34891380_1759\Main.java:26: 错误: 需要class, interface或enum
    for(int i = 4; i <= MAX; i++) {///构建素数表
                   ^
0_0_34891380_1759\Main.java:26: 错误: 需要class, interface或enum
    for(int i = 4; i <= MAX; i++) {///构建素数表
                             ^
0_0_34891380_1759\Main.java:29: 错误: 需要class, interface或enum
            num_prime++;
            ^
0_0_34891380_1759\Main.java:30: 错误: 需要class, interface或enum
        }
        ^
0_0_34891380_1759\Main.java:34: 错误: 需要class, interface或enum
    double a = 0;
    ^
0_0_34891380_1759\Main.java:35: 错误: 需要class, interface或enum
    double b = 0;
    ^
0_0_34891380_1759\Main.java:37: 错误: 需要class, interface或enum
    while(scanf("%d%lf%lf",&m,&a,&b) && m+a+b){
    ^
0_0_34891380_1759\Main.java:39: 错误: 需要class, interface或enum
        double lim = a/b;
        ^
0_0_34891380_1759\Main.java:40: 错误: 需要class, interface或enum
        int ans_p = 0;
        ^
0_0_34891380_1759\Main.java:41: 错误: 需要class, interface或enum
        int ans_q = 0;
        ^
0_0_34891380_1759\Main.java:42: 错误: 需要class, interface或enum
        for(int p = num_prime-1; p >= 0; p--)
        ^
0_0_34891380_1759\Main.java:42: 错误: 需要class, interface或enum
        for(int p = num_prime-1; p >= 0; p--)
                                 ^
0_0_34891380_1759\Main.java:42: 错误: 需要class, interface或enum
        for(int p = num_prime-1; p >= 0; p--)
                                         ^
0_0_34891380_1759\Main.java:44: 错误: 需要class, interface或enum
            for(int q = p; q >= 0; q--)
                           ^
0_0_34891380_1759\Main.java:44: 错误: 需要class, interface或enum
            for(int q = p; q >= 0; q--)
                                   ^
0_0_34891380_1759\Main.java:51: 错误: 需要class, interface或enum
                }
                ^
0_0_34891380_1759\Main.java:55: 错误: 需要class, interface或enum
                    ans_p = prime[p];
                    ^
0_0_34891380_1759\Main.java:56: 错误: 需要class, interface或enum
                    ans_q = prime[q];
                    ^
0_0_34891380_1759\Main.java:57: 错误: 需要class, interface或enum
                }
                ^
0_0_34891380_1759\Main.java:63: 错误: 需要class, interface或enum
        }
        ^
0_0_34891380_1759\Main.java:65: 错误: 需要class, interface或enum
    }
    ^
0_0_34891380_1759\Main.java:68: 错误: 需要class, interface或enum
}
^
34 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 01:37:31, Gzip enabled