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_26685930_1657\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26685930_1657\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_26685930_1657\Main.java:3: 错误: 需要class, interface或enum
const int maxn = 1e5+5;
^
0_0_26685930_1657\Main.java:4: 错误: 需要class, interface或enum
int n;
^
0_0_26685930_1657\Main.java:5: 错误: 需要class, interface或enum
vector <int> fac[maxn];
^
0_0_26685930_1657\Main.java:6: 错误: 需要class, interface或enum
vector <int> mp[maxn];
^
0_0_26685930_1657\Main.java:7: 错误: 需要class, interface或enum
vector <int> hav[maxn];
^
0_0_26685930_1657\Main.java:8: 错误: 需要class, interface或enum
int ans[maxn];
^
0_0_26685930_1657\Main.java:9: 错误: 需要class, interface或enum
void init()
^
0_0_26685930_1657\Main.java:11: 错误: 需要class, interface或enum
    for(int i=1;i<=maxn;i++)
                ^
0_0_26685930_1657\Main.java:11: 错误: 需要class, interface或enum
    for(int i=1;i<=maxn;i++)
                        ^
0_0_26685930_1657\Main.java:13: 错误: 需要class, interface或enum
        for(int j=i;j<=maxn;j+=i)
                    ^
0_0_26685930_1657\Main.java:13: 错误: 需要class, interface或enum
        for(int j=i;j<=maxn;j+=i)
                            ^
0_0_26685930_1657\Main.java:15: 错误: 需要class, interface或enum
    }
    ^
0_0_26685930_1657\Main.java:21: 错误: 需要class, interface或enum
    int al=0,bl = 0;
    ^
0_0_26685930_1657\Main.java:22: 错误: 需要class, interface或enum
    while(al < hav[x].size()&&bl < hav[ch].size())
    ^
0_0_26685930_1657\Main.java:27: 错误: 需要class, interface或enum
            temp.push_back(hav[x][al++]);
            ^
0_0_26685930_1657\Main.java:28: 错误: 需要class, interface或enum
            bl++;
            ^
0_0_26685930_1657\Main.java:29: 错误: 需要class, interface或enum
        }
        ^
0_0_26685930_1657\Main.java:32: 错误: 需要class, interface或enum
        else
        ^
0_0_26685930_1657\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_26685930_1657\Main.java:37: 错误: 需要class, interface或enum
    while(bl < hav[ch].size())
    ^
0_0_26685930_1657\Main.java:39: 错误: 需要class, interface或enum
    hav[x] = temp;
    ^
0_0_26685930_1657\Main.java:40: 错误: 需要class, interface或enum
    return ;
    ^
0_0_26685930_1657\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_26685930_1657\Main.java:46: 错误: 需要class, interface或enum
    for(auto tmp : mp[x])
    ^
0_0_26685930_1657\Main.java:49: 错误: 需要class, interface或enum
        combine(x,tmp);
        ^
0_0_26685930_1657\Main.java:50: 错误: 需要class, interface或enum
    }
    ^
0_0_26685930_1657\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_26685930_1657\Main.java:57: 错误: 需要class, interface或enum
    scanf("%d",&n);
    ^
0_0_26685930_1657\Main.java:58: 错误: 需要class, interface或enum
    int x;
    ^
0_0_26685930_1657\Main.java:59: 错误: 需要class, interface或enum
    for(int i=2;i<=n;i++)
    ^
0_0_26685930_1657\Main.java:59: 错误: 需要class, interface或enum
    for(int i=2;i<=n;i++)
                ^
0_0_26685930_1657\Main.java:59: 错误: 需要class, interface或enum
    for(int i=2;i<=n;i++)
                     ^
0_0_26685930_1657\Main.java:62: 错误: 需要class, interface或enum
        mp[x].push_back(i);
        ^
0_0_26685930_1657\Main.java:63: 错误: 需要class, interface或enum
    }
    ^
0_0_26685930_1657\Main.java:64: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                ^
0_0_26685930_1657\Main.java:64: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                     ^
0_0_26685930_1657\Main.java:67: 错误: 需要class, interface或enum
        hav[i] = fac[x];
        ^
0_0_26685930_1657\Main.java:68: 错误: 需要class, interface或enum
    }
    ^
0_0_26685930_1657\Main.java:70: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
    ^
0_0_26685930_1657\Main.java:70: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                ^
0_0_26685930_1657\Main.java:70: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                     ^
0_0_26685930_1657\Main.java:72: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_26685930_1657\Main.java:73: 错误: 需要class, interface或enum
}
^
45 个错误


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-02 19:37:34, Gzip enabled