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_22612319_13865.cpp:3:7: error: stray '#' in program
 using namespace std;  
       ^
0_0_22612319_13865.cpp:3:22: error: stray '#' in program
 using namespace std;  
                      ^
0_0_22612319_13865.cpp:3:32: error: stray '#' in program
 using namespace std;  
                                ^
0_0_22612319_13865.cpp:3:38: error: stray '#' in program
 using namespace std;  
                                      ^
0_0_22612319_13865.cpp:4:8: error: macro names must be identifiers
 #define eps 1e-9  
        ^
0_0_22612319_13865.cpp:5:8: error: macro names must be identifiers
 #define pi acos(-1.0)  
        ^
0_0_22612319_13865.cpp:6:5: error: stray '#' in program
 int main()  
     ^
0_0_22612319_13865.cpp:6:17: error: stray '#' in program
 int main()  
                 ^
0_0_22612319_13865.cpp:6:23: error: stray '#' in program
 int main()  
                       ^
0_0_22612319_13865.cpp:7:3: error: stray '#' in program
 {  
   ^
0_0_22612319_13865.cpp:7:9: error: stray '#' in program
 {  
         ^
0_0_22612319_13865.cpp:8:2: error: stray '#' in program
  int T=0;  
  ^
0_0_22612319_13865.cpp:8:11: error: stray '#' in program
  int T=0;  
           ^
0_0_22612319_13865.cpp:8:21: error: stray '#' in program
  int T=0;  
                     ^
0_0_22612319_13865.cpp:8:27: error: stray '#' in program
  int T=0;  
                           ^
0_0_22612319_13865.cpp:9:2: error: stray '#' in program
  double a,b,c,len,p0,p1,S,R,r;  
  ^
0_0_22612319_13865.cpp:9:14: error: stray '#' in program
  double a,b,c,len,p0,p1,S,R,r;  
              ^
0_0_22612319_13865.cpp:9:42: error: stray '#' in program
  double a,b,c,len,p0,p1,S,R,r;  
                                          ^
0_0_22612319_13865.cpp:9:48: error: stray '#' in program
  double a,b,c,len,p0,p1,S,R,r;  
                                                ^
0_0_22612319_13865.cpp:10:2: error: stray '#' in program
  //len为自由线的长度;p0为原三角形的周长;p1为原三角形的半周长;  
  ^
0_0_22612319_13865.cpp:11:2: error: stray '#' in program
   //R为原三角形的内切圆半径;r为相似三角形的内切圆半径。   
  ^
0_0_22612319_13865.cpp:11:8: error: stray '#' in program
   //R为原三角形的内切圆半径;r为相似三角形的内切圆半径。   
        ^
0_0_22612319_13865.cpp:12:2: error: stray '#' in program
  while(scanf("%lf%lf%lf%lf",&a,&b,&c,&len),a+b+c+len)  
  ^
0_0_22612319_13865.cpp:12:60: error: stray '#' in program
  while(scanf("%lf%lf%lf%lf",&a,&b,&c,&len),a+b+c+len)  
                                                            ^
0_0_22612319_13865.cpp:12:66: error: stray '#' in program
  while(scanf("%lf%lf%lf%lf",&a,&b,&c,&len),a+b+c+len)  
                                                                  ^
0_0_22612319_13865.cpp:13:2: error: stray '#' in program
  {  
  ^
0_0_22612319_13865.cpp:13:9: error: stray '#' in program
  {  
         ^
0_0_22612319_13865.cpp:13:15: error: stray '#' in program
  {  
               ^
0_0_22612319_13865.cpp:14:2: error: stray '#' in program
    printf("Case %d: ",++T);  
  ^
0_0_22612319_13865.cpp:14:8: error: stray '#' in program
    printf("Case %d: ",++T);  
        ^
0_0_22612319_13865.cpp:14:14: error: stray '#' in program
    printf("Case %d: ",++T);  
              ^
0_0_22612319_13865.cpp:14:54: error: stray '#' in program
    printf("Case %d: ",++T);  
                                                      ^
0_0_22612319_13865.cpp:14:60: error: stray '#' in program
    printf("Case %d: ",++T);  
                                                            ^
0_0_22612319_13865.cpp:15:2: error: stray '#' in program
    p0=a+b+c;  
  ^
0_0_22612319_13865.cpp:15:8: error: stray '#' in program
    p0=a+b+c;  
        ^
0_0_22612319_13865.cpp:15:14: error: stray '#' in program
    p0=a+b+c;  
              ^
0_0_22612319_13865.cpp:15:29: error: stray '#' in program
    p0=a+b+c;  
                             ^
0_0_22612319_13865.cpp:15:35: error: stray '#' in program
    p0=a+b+c;  
                                   ^
0_0_22612319_13865.cpp:16:2: error: stray '#' in program
    p1=p0/2;  
  ^
0_0_22612319_13865.cpp:16:8: error: stray '#' in program
    p1=p0/2;  
        ^
0_0_22612319_13865.cpp:16:14: error: stray '#' in program
    p1=p0/2;  
              ^
0_0_22612319_13865.cpp:16:28: error: stray '#' in program
    p1=p0/2;  
                            ^
0_0_22612319_13865.cpp:16:34: error: stray '#' in program
    p1=p0/2;  
                                  ^
0_0_22612319_13865.cpp:17:2: error: stray '#' in program
    S=sqrt(p1*(p1-a)*(p1-b)*(p1-c));  
  ^
0_0_22612319_13865.cpp:17:8: error: stray '#' in program
    S=sqrt(p1*(p1-a)*(p1-b)*(p1-c));  
        ^
0_0_22612319_13865.cpp:17:14: error: stray '#' in program
    S=sqrt(p1*(p1-a)*(p1-b)*(p1-c));  
              ^
0_0_22612319_13865.cpp:17:52: error: stray '#' in program
    S=sqrt(p1*(p1-a)*(p1-b)*(p1-c));  
                                                    ^
0_0_22612319_13865.cpp:17:58: error: stray '#' in program
    S=sqrt(p1*(p1-a)*(p1-b)*(p1-c));  
                                                          ^
0_0_22612319_13865.cpp:18:2: error: stray '#' in program
    if(len>=p0)  {printf("%.2lf\n",S);continue;} //自由线长大于三角形周长  
  ^
0_0_22612319_13865.cpp:18:8: error: stray '#' in program
    if(len>=p0)  {printf("%.2lf\n",S);continue;} //自由线长大于三角形周长  
        ^
0_0_22612319_13865.cpp:18:14: error: stray '#' in program
    if(len>=p0)  {printf("%.2lf\n",S);continue;} //自由线长大于三角形周长  
              ^
0_0_22612319_13865.cpp:18:31: error: stray '#' in program
    if(len>=p0)  {printf("%.2lf\n",S);continue;} //自由线长大于三角形周长  
                               ^
0_0_22612319_13865.cpp:18:37: error: stray '#' in program
    if(len>=p0)  {printf("%.2lf\n",S);continue;} //自由线长大于三角形周长  
                                     ^
0_0_22612319_13865.cpp:18:74: error: stray '#' in program
    if(len>=p0)  {printf("%.2lf\n",S);continue;} //自由线长大于三角形周长  
                                                                          ^
0_0_22612319_13865.cpp:19:2: error: stray '#' in program
    R=2*S/p0; //三角形内切圆公式S=p0*R/2; R为内切圆半径  
  ^
0_0_22612319_13865.cpp:19:8: error: stray '#' in program
    R=2*S/p0; //三角形内切圆公式S=p0*R/2; R为内切圆半径  
        ^
0_0_22612319_13865.cpp:19:14: error: stray '#' in program
    R=2*S/p0; //三角形内切圆公式S=p0*R/2; R为内切圆半径  
              ^
0_0_22612319_13865.cpp:19:29: error: stray '#' in program
    R=2*S/p0; //三角形内切圆公式S=p0*R/2; R为内切圆半径  
                             ^
0_0_22612319_13865.cpp:20:2: error: stray '#' in program
    if(2*pi*R-len>eps)  
  ^
0_0_22612319_13865.cpp:20:8: error: stray '#' in program
    if(2*pi*R-len>eps)  
        ^
0_0_22612319_13865.cpp:20:14: error: stray '#' in program
    if(2*pi*R-len>eps)  
              ^
0_0_22612319_13865.cpp:20:38: error: stray '#' in program
    if(2*pi*R-len>eps)  
                                      ^
0_0_22612319_13865.cpp:20:44: error: stray '#' in program
    if(2*pi*R-len>eps)  
                                            ^
0_0_22612319_13865.cpp:21:2: error: stray '#' in program
    {  
  ^
0_0_22612319_13865.cpp:21:8: error: stray '#' in program
    {  
        ^
0_0_22612319_13865.cpp:21:14: error: stray '#' in program
    {  
              ^
0_0_22612319_13865.cpp:21:21: error: stray '#' in program
    {  
                     ^
0_0_22612319_13865.cpp:21:27: error: stray '#' in program
    {  
                           ^
0_0_22612319_13865.cpp:22:2: error: stray '#' in program
      R=len/pi/2;  
  ^
0_0_22612319_13865.cpp:22:8: error: stray '#' in program
      R=len/pi/2;  
        ^
0_0_22612319_13865.cpp:22


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 11:32:46, Gzip enabled