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_18903757_1730\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_18903757_1730\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_18903757_1730\Main.java:3: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_18903757_1730\Main.java:4: 错误: 需要class, interface或enum
const int maxn = 32000;
^
0_0_18903757_1730\Main.java:5: 错误: 需要class, interface或enum
bool isp[maxn];
^
0_0_18903757_1730\Main.java:6: 错误: 需要class, interface或enum
int p[maxn], sz;
^
0_0_18903757_1730\Main.java:7: 错误: 需要class, interface或enum
int fac[maxn], cnt[maxn], tol;
^
0_0_18903757_1730\Main.java:8: 错误: 需要class, interface或enum
int a, b;
^
0_0_18903757_1730\Main.java:10: 错误: 需要class, interface或enum
void init(){
^
0_0_18903757_1730\Main.java:12: 错误: 需要class, interface或enum
    for(int i = 2; i < maxn; i++){
    ^
0_0_18903757_1730\Main.java:12: 错误: 需要class, interface或enum
    for(int i = 2; i < maxn; i++){
                   ^
0_0_18903757_1730\Main.java:12: 错误: 需要class, interface或enum
    for(int i = 2; i < maxn; i++){
                             ^
0_0_18903757_1730\Main.java:14: 错误: 需要class, interface或enum
        for(int j = 0; j < sz && (LL)i * p[j] < maxn; j++){
        ^
0_0_18903757_1730\Main.java:14: 错误: 需要class, interface或enum
        for(int j = 0; j < sz && (LL)i * p[j] < maxn; j++){
                       ^
0_0_18903757_1730\Main.java:14: 错误: 需要class, interface或enum
        for(int j = 0; j < sz && (LL)i * p[j] < maxn; j++){
                                                      ^
0_0_18903757_1730\Main.java:16: 错误: 需要class, interface或enum
            if(i % p[j]) break;
            ^
0_0_18903757_1730\Main.java:17: 错误: 需要class, interface或enum
        }
        ^
0_0_18903757_1730\Main.java:23: 错误: 需要class, interface或enum
    for(int i = 0; i < sz && (LL)p[i] * p[i] <= n; i++){
    ^
0_0_18903757_1730\Main.java:23: 错误: 需要class, interface或enum
    for(int i = 0; i < sz && (LL)p[i] * p[i] <= n; i++){
                   ^
0_0_18903757_1730\Main.java:23: 错误: 需要class, interface或enum
    for(int i = 0; i < sz && (LL)p[i] * p[i] <= n; i++){
                                                   ^
0_0_18903757_1730\Main.java:26: 错误: 需要class, interface或enum
            cnt[tol] = 0;
            ^
0_0_18903757_1730\Main.java:27: 错误: 需要class, interface或enum
            while(n % p[i] == 0) n /= p[i], cnt[tol]++;
            ^
0_0_18903757_1730\Main.java:28: 错误: 需要class, interface或enum
            tol++;
            ^
0_0_18903757_1730\Main.java:29: 错误: 需要class, interface或enum
        }
        ^
0_0_18903757_1730\Main.java:33: 错误: 需要class, interface或enum
        cnt[tol++] = 1;
        ^
0_0_18903757_1730\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_18903757_1730\Main.java:43: 错误: 需要class, interface或enum
void dfs(int idx, LL x){
^
0_0_18903757_1730\Main.java:49: 错误: 需要class, interface或enum
                else
                ^
0_0_18903757_1730\Main.java:51: 错误: 需要class, interface或enum
                flag = 1;
                ^
0_0_18903757_1730\Main.java:52: 错误: 需要class, interface或enum
            }
            ^
0_0_18903757_1730\Main.java:55: 错误: 需要class, interface或enum
    }
    ^
0_0_18903757_1730\Main.java:56: 错误: 需要class, interface或enum
    for(int i = 0; i <= cnt[idx] && x <= b && x < a; i++){
                   ^
0_0_18903757_1730\Main.java:56: 错误: 需要class, interface或enum
    for(int i = 0; i <= cnt[idx] && x <= b && x < a; i++){
                                                     ^
0_0_18903757_1730\Main.java:58: 错误: 需要class, interface或enum
        if(flag) return;
        ^
0_0_18903757_1730\Main.java:59: 错误: 需要class, interface或enum
        x *= fac[idx];
        ^
0_0_18903757_1730\Main.java:60: 错误: 需要class, interface或enum
    }
    ^
0_0_18903757_1730\Main.java:65: 错误: 需要class, interface或enum
    while(scanf("%d%d", &a, &b) != EOF){
    ^
0_0_18903757_1730\Main.java:67: 错误: 需要class, interface或enum
        flag = 0;
        ^
0_0_18903757_1730\Main.java:68: 错误: 需要class, interface或enum
        dfs(0, 1);
        ^
0_0_18903757_1730\Main.java:69: 错误: 需要class, interface或enum
        if(!flag){
        ^
0_0_18903757_1730\Main.java:71: 错误: 需要class, interface或enum
        }
        ^
0_0_18903757_1730\Main.java:74: 错误: 需要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-12-01 09:11:11, Gzip enabled