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_34090969_2005\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_34090969_2005\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_34090969_2005\Main.java:2: 错误: 非法字符: '#'
#include<string>
^
0_0_34090969_2005\Main.java:3: 错误: 非法字符: '#'
#define max 1000 
^
0_0_34090969_2005\Main.java:4: 错误: 非法字符: '#'
#include<iostream>
^
0_0_34090969_2005\Main.java:6: 错误: 需要class, interface或enum
string clearZero(string a)    
^
0_0_34090969_2005\Main.java:8: 错误: 需要class, interface或enum
int N=a.size();
^
0_0_34090969_2005\Main.java:9: 错误: 需要class, interface或enum
for(i=0;i<N;i++)
^
0_0_34090969_2005\Main.java:9: 错误: 需要class, interface或enum
for(i=0;i<N;i++)
        ^
0_0_34090969_2005\Main.java:9: 错误: 需要class, interface或enum
for(i=0;i<N;i++)
            ^
0_0_34090969_2005\Main.java:11: 错误: 需要class, interface或enum
if(i==N) a="0";
^
0_0_34090969_2005\Main.java:12: 错误: 需要class, interface或enum
else a.erase(0,i);
^
0_0_34090969_2005\Main.java:13: 错误: 需要class, interface或enum
return a;
^
0_0_34090969_2005\Main.java:14: 错误: 需要class, interface或enum
 } 
 ^
0_0_34090969_2005\Main.java:18: 错误: 需要class, interface或enum
s1=a;s2=b;
^
0_0_34090969_2005\Main.java:18: 错误: 需要class, interface或enum
s1=a;s2=b;
     ^
0_0_34090969_2005\Main.java:19: 错误: 需要class, interface或enum
int N,i;int len1=s1.length();int len2=s2.length();
^
0_0_34090969_2005\Main.java:19: 错误: 需要class, interface或enum
int N,i;int len1=s1.length();int len2=s2.length();
        ^
0_0_34090969_2005\Main.java:19: 错误: 需要class, interface或enum
int N,i;int len1=s1.length();int len2=s2.length();
                             ^
0_0_34090969_2005\Main.java:20: 错误: 需要class, interface或enum
while(len1<len2)
^
0_0_34090969_2005\Main.java:21: 错误: 需要class, interface或enum
{s1="0"+s1;len1++;}  
           ^
0_0_34090969_2005\Main.java:21: 错误: 需要class, interface或enum
{s1="0"+s1;len1++;}  
                  ^
0_0_34090969_2005\Main.java:23: 错误: 需要class, interface或enum
{s2="0"+s2;len2++;}
           ^
0_0_34090969_2005\Main.java:23: 错误: 需要class, interface或enum
{s2="0"+s2;len2++;}
                  ^
0_0_34090969_2005\Main.java:24: 错误: 需要class, interface或enum
s1="0"+s1;s2="0"+s2;  
          ^
0_0_34090969_2005\Main.java:25: 错误: 需要class, interface或enum
N=s1.length()-1;
^
0_0_34090969_2005\Main.java:26: 错误: 需要class, interface或enum
for(i=N;i>0;i--)
^
0_0_34090969_2005\Main.java:26: 错误: 需要class, interface或enum
for(i=N;i>0;i--)
        ^
0_0_34090969_2005\Main.java:26: 错误: 需要class, interface或enum
for(i=N;i>0;i--)
            ^
0_0_34090969_2005\Main.java:28: 错误: 需要class, interface或enum
if(s1[i]>'9'){s1[i]-=10;s1[i-1]++; }   
^
0_0_34090969_2005\Main.java:28: 错误: 需要class, interface或enum
if(s1[i]>'9'){s1[i]-=10;s1[i-1]++; }   
                        ^
0_0_34090969_2005\Main.java:28: 错误: 需要class, interface或enum
if(s1[i]>'9'){s1[i]-=10;s1[i-1]++; }   
                                   ^
0_0_34090969_2005\Main.java:31: 错误: 需要class, interface或enum
return clearZero(c);
^
0_0_34090969_2005\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_34090969_2005\Main.java:37: 错误: 需要class, interface或enum
string s1,s2;
^
0_0_34090969_2005\Main.java:38: 错误: 需要class, interface或enum
cin>>n;
^
0_0_34090969_2005\Main.java:40: 错误: 需要class, interface或enum
while(n--){
^
0_0_34090969_2005\Main.java:42: 错误: 需要class, interface或enum
cin>>s2;
^
0_0_34090969_2005\Main.java:44: 错误: 需要class, interface或enum
cout<<"Case "<<i++<<":\n";
^
0_0_34090969_2005\Main.java:46: 错误: 需要class, interface或enum
cout<<s1<<" + "<<s2<<" = "<<addition(s1,s2)<<endl;
^
0_0_34090969_2005\Main.java:47: 错误: 需要class, interface或enum
if(n!=0) printf("\n");
^
0_0_34090969_2005\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_34090969_2005\Main.java:50: 错误: 需要class, interface或enum
}
^
43 个错误


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-18 08:50:31, Gzip enabled