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_18889717_23330\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_18889717_23330\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_18889717_23330\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_18889717_23330\Main.java:3: 错误: 非法字符: '#'
#include<cmath>
^
0_0_18889717_23330\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_18889717_23330\Main.java:6: 错误: 需要class, interface或enum
int a, b;
^
0_0_18889717_23330\Main.java:7: 错误: 需要class, interface或enum
int solve[20050];
^
0_0_18889717_23330\Main.java:8: 错误: 需要class, interface或enum
int gcdx;
^
0_0_18889717_23330\Main.java:10: 错误: 需要class, interface或enum
int fenjie(int digit)
^
0_0_18889717_23330\Main.java:13: 错误: 需要class, interface或enum
    for(int i = 1; i <= digit; i++)
    ^
0_0_18889717_23330\Main.java:13: 错误: 需要class, interface或enum
    for(int i = 1; i <= digit; i++)
                   ^
0_0_18889717_23330\Main.java:13: 错误: 需要class, interface或enum
    for(int i = 1; i <= digit; i++)
                               ^
0_0_18889717_23330\Main.java:17: 错误: 需要class, interface或enum
            solve[digit/i]=1;
            ^
0_0_18889717_23330\Main.java:18: 错误: 需要class, interface或enum
        }
        ^
0_0_18889717_23330\Main.java:26: 错误: 需要class, interface或enum
    if (b == 0)
    ^
0_0_18889717_23330\Main.java:28: 错误: 需要class, interface或enum
    else
    ^
0_0_18889717_23330\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_18889717_23330\Main.java:37: 错误: 需要class, interface或enum
        else if(b < a/2)printf("No Solution\n");
        ^
0_0_18889717_23330\Main.java:38: 错误: 需要class, interface或enum
        else
        ^
0_0_18889717_23330\Main.java:41: 错误: 需要class, interface或enum
            gcdx = gcd(a, b);
            ^
0_0_18889717_23330\Main.java:43: 错误: 需要class, interface或enum
            fenjie(gcdx);
            ^
0_0_18889717_23330\Main.java:44: 错误: 需要class, interface或enum
            for(int i = 1; i <= gcdx; i++)
            ^
0_0_18889717_23330\Main.java:44: 错误: 需要class, interface或enum
            for(int i = 1; i <= gcdx; i++)
                           ^
0_0_18889717_23330\Main.java:44: 错误: 需要class, interface或enum
            for(int i = 1; i <= gcdx; i++)
                                      ^
0_0_18889717_23330\Main.java:48: 错误: 需要class, interface或enum
                int saa = sqrt(a*a/i/i - 4*b/i);
                ^
0_0_18889717_23330\Main.java:50: 错误: 需要class, interface或enum
                if(saa*saa != a*a/i/i - 4*b/i)continue;
                ^
0_0_18889717_23330\Main.java:52: 错误: 需要class, interface或enum
                int ans1 = (a/i - saa);
                ^
0_0_18889717_23330\Main.java:53: 错误: 需要class, interface或enum
                int ans2 = (a/i + saa);
                ^
0_0_18889717_23330\Main.java:54: 错误: 需要class, interface或enum
                if(ans1%2 == 1 || ans2%2 == 1)continue;
                ^
0_0_18889717_23330\Main.java:55: 错误: 需要class, interface或enum
                ans1/=2;ans2/=2;
                ^
0_0_18889717_23330\Main.java:55: 错误: 需要class, interface或enum
                ans1/=2;ans2/=2;
                        ^
0_0_18889717_23330\Main.java:56: 错误: 需要class, interface或enum
if(gcd(ans1, ans2) != 1)continue;
^
0_0_18889717_23330\Main.java:57: 错误: 需要class, interface或enum
                ans1*=i;ans2*=i;
                ^
0_0_18889717_23330\Main.java:57: 错误: 需要class, interface或enum
                ans1*=i;ans2*=i;
                        ^
0_0_18889717_23330\Main.java:58: 错误: 需要class, interface或enum
                else {printf("%d %d\n", ans1, ans2);flag = 1;break;}
                ^
0_0_18889717_23330\Main.java:58: 错误: 需要class, interface或enum
                else {printf("%d %d\n", ans1, ans2);flag = 1;break;}
                                                    ^
0_0_18889717_23330\Main.java:58: 错误: 需要class, interface或enum
                else {printf("%d %d\n", ans1, ans2);flag = 1;break;}
                                                             ^
0_0_18889717_23330\Main.java:58: 错误: 需要class, interface或enum
                else {printf("%d %d\n", ans1, ans2);flag = 1;break;}
                                                                   ^
0_0_18889717_23330\Main.java:61: 错误: 需要class, interface或enum
        }
        ^
0_0_18889717_23330\Main.java:64: 错误: 需要class, interface或enum
}
^
40 个错误


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-20 23:31:54, Gzip enabled