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_19399005_23125\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_19399005_23125\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_19399005_23125\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_19399005_23125\Main.java:4: 错误: 需要class, interface或enum
int main()
^
0_0_19399005_23125\Main.java:7: 错误: 需要class, interface或enum
int lengtha,lengthb,lengthc,lengthd,i,j,flag1,flag2,flag3,flag4;
^
0_0_19399005_23125\Main.java:8: 错误: 需要class, interface或enum
while(cin>>a>>b)
^
0_0_19399005_23125\Main.java:11: 错误: 需要class, interface或enum
lengthb=strlen(b);
^
0_0_19399005_23125\Main.java:12: 错误: 需要class, interface或enum
flag1=0;
^
0_0_19399005_23125\Main.java:13: 错误: 需要class, interface或enum
flag2=0;
^
0_0_19399005_23125\Main.java:14: 错误: 需要class, interface或enum
j=0;
^
0_0_19399005_23125\Main.java:15: 错误: 需要class, interface或enum
for(i=0;i<lengtha;i++) //去除a数组的前导0
^
0_0_19399005_23125\Main.java:15: 错误: 需要class, interface或enum
for(i=0;i<lengtha;i++) //去除a数组的前导0
        ^
0_0_19399005_23125\Main.java:15: 错误: 需要class, interface或enum
for(i=0;i<lengtha;i++) //去除a数组的前导0
                  ^
0_0_19399005_23125\Main.java:19: 错误: 需要class, interface或enum
if(flag1==1)
^
0_0_19399005_23125\Main.java:21: 错误: 需要class, interface或enum
if(a[i]=='.')
^
0_0_19399005_23125\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_19399005_23125\Main.java:25: 错误: 需要class, interface或enum
flag1=0;
^
0_0_19399005_23125\Main.java:26: 错误: 需要class, interface或enum
flag3=0;
^
0_0_19399005_23125\Main.java:27: 错误: 需要class, interface或enum
j=0;
^
0_0_19399005_23125\Main.java:28: 错误: 需要class, interface或enum
for(i=0;i<lengthb;i++) //去除b数组的前导0
^
0_0_19399005_23125\Main.java:28: 错误: 需要class, interface或enum
for(i=0;i<lengthb;i++) //去除b数组的前导0
        ^
0_0_19399005_23125\Main.java:28: 错误: 需要class, interface或enum
for(i=0;i<lengthb;i++) //去除b数组的前导0
                  ^
0_0_19399005_23125\Main.java:32: 错误: 需要class, interface或enum
if(flag1==1)
^
0_0_19399005_23125\Main.java:34: 错误: 需要class, interface或enum
if(b[i]=='.')
^
0_0_19399005_23125\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_19399005_23125\Main.java:38: 错误: 需要class, interface或enum
lengthc=strlen(c);
^
0_0_19399005_23125\Main.java:39: 错误: 需要class, interface或enum
lengthd=strlen(d);
^
0_0_19399005_23125\Main.java:40: 错误: 需要class, interface或enum
for(i=lengthc-1;c[i]!='.'&&flag2==1;i--) //去除c数组小数点后无用的0
^
0_0_19399005_23125\Main.java:40: 错误: 需要class, interface或enum
for(i=lengthc-1;c[i]!='.'&&flag2==1;i--) //去除c数组小数点后无用的0
                ^
0_0_19399005_23125\Main.java:40: 错误: 需要class, interface或enum
for(i=lengthc-1;c[i]!='.'&&flag2==1;i--) //去除c数组小数点后无用的0
                                    ^
0_0_19399005_23125\Main.java:44: 错误: 需要class, interface或enum
else
^
0_0_19399005_23125\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_19399005_23125\Main.java:49: 错误: 需要class, interface或enum
for(i=lengthd-1;d[i]!='.'&&flag3==1;i--) //去除d数组小数点后无用的0
^
0_0_19399005_23125\Main.java:49: 错误: 需要class, interface或enum
for(i=lengthd-1;d[i]!='.'&&flag3==1;i--) //去除d数组小数点后无用的0
                ^
0_0_19399005_23125\Main.java:49: 错误: 需要class, interface或enum
for(i=lengthd-1;d[i]!='.'&&flag3==1;i--) //去除d数组小数点后无用的0
                                    ^
0_0_19399005_23125\Main.java:53: 错误: 需要class, interface或enum
else
^
0_0_19399005_23125\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_19399005_23125\Main.java:58: 错误: 需要class, interface或enum
flag4=strcmp(c,d);
^
0_0_19399005_23125\Main.java:59: 错误: 需要class, interface或enum
if(flag4==0)
^
0_0_19399005_23125\Main.java:60: 错误: 未结束的字符文字
cout<<'YES'<<endl;
      ^
0_0_19399005_23125\Main.java:60: 错误: 未结束的字符文字
cout<<'YES'<<endl;
          ^
0_0_19399005_23125\Main.java:61: 错误: 需要class, interface或enum
else
^
0_0_19399005_23125\Main.java:62: 错误: 未结束的字符文字
cout<<'NO'<<endl;
      ^
0_0_19399005_23125\Main.java:62: 错误: 未结束的字符文字
cout<<'NO'<<endl;
         ^
0_0_19399005_23125\Main.java:63: 错误: 需要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-11-17 03:02:57, Gzip enabled