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_38496227_20809\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_38496227_20809\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_38496227_20809\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_38496227_20809\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_38496227_20809\Main.java:7: 错误: 需要class, interface或enum
int n;
^
0_0_38496227_20809\Main.java:8: 错误: 需要class, interface或enum
int ans[1000],ansidx;
^
0_0_38496227_20809\Main.java:10: 错误: 需要class, interface或enum
vector<int> get_divisors(int x){
^
0_0_38496227_20809\Main.java:12: 错误: 需要class, interface或enum
    for(int i=1;i<=x/i;i++){
    ^
0_0_38496227_20809\Main.java:12: 错误: 需要class, interface或enum
    for(int i=1;i<=x/i;i++){
                ^
0_0_38496227_20809\Main.java:12: 错误: 需要class, interface或enum
    for(int i=1;i<=x/i;i++){
                       ^
0_0_38496227_20809\Main.java:15: 错误: 需要class, interface或enum
            if(i!=x/i)res.push_back(x/i);
            ^
0_0_38496227_20809\Main.java:16: 错误: 需要class, interface或enum
        }
        ^
0_0_38496227_20809\Main.java:19: 错误: 需要class, interface或enum
    return res;
    ^
0_0_38496227_20809\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_38496227_20809\Main.java:24: 错误: 需要class, interface或enum
    while(x){
    ^
0_0_38496227_20809\Main.java:26: 错误: 需要class, interface或enum
        x/=10;
        ^
0_0_38496227_20809\Main.java:27: 错误: 需要class, interface或enum
    }
    ^
0_0_38496227_20809\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_38496227_20809\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++){
    ^
0_0_38496227_20809\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++){
                ^
0_0_38496227_20809\Main.java:33: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++){
                    ^
0_0_38496227_20809\Main.java:35: 错误: 需要class, interface或enum
        int t;
        ^
0_0_38496227_20809\Main.java:36: 错误: 需要class, interface或enum
        scanf("%d",&t);
        ^
0_0_38496227_20809\Main.java:37: 错误: 需要class, interface或enum
        vector<int> dd1=get_divisors(t);
        ^
0_0_38496227_20809\Main.java:38: 错误: 需要class, interface或enum
        vector<int> dd2=get_divisors(get_sum(t));
        ^
0_0_38496227_20809\Main.java:39: 错误: 需要class, interface或enum
        int d1=0,d2=0;
        ^
0_0_38496227_20809\Main.java:40: 错误: 需要class, interface或enum
        while(d1<dd1.size()&&d2<dd2.size()){
        ^
0_0_38496227_20809\Main.java:42: 错误: 需要class, interface或enum
            if(dd1[d1]<dd2[d2])d1++;
            ^
0_0_38496227_20809\Main.java:43: 错误: 需要class, interface或enum
            if(dd1[d1]==dd2[d2]){
            ^
0_0_38496227_20809\Main.java:45: 错误: 需要class, interface或enum
                d1++,d2++;
                ^
0_0_38496227_20809\Main.java:46: 错误: 需要class, interface或enum
            }
            ^
0_0_38496227_20809\Main.java:49: 错误: 需要class, interface或enum
        for(int j=1;j<ansidx;j++){
        ^
0_0_38496227_20809\Main.java:49: 错误: 需要class, interface或enum
        for(int j=1;j<ansidx;j++){
                    ^
0_0_38496227_20809\Main.java:49: 错误: 需要class, interface或enum
        for(int j=1;j<ansidx;j++){
                             ^
0_0_38496227_20809\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_38496227_20809\Main.java:53: 错误: 需要class, interface或enum
    }
    ^
0_0_38496227_20809\Main.java:55: 错误: 需要class, interface或enum
}
^
37 个错误


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-25 18:45:15, Gzip enabled