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_34664164_21249\Main.java:1: 错误: 非法字符: '#'
 #include<iostream>
 ^
0_0_34664164_21249\Main.java:1: 错误: 需要class, interface或enum
 #include<iostream>
         ^
0_0_34664164_21249\Main.java:2: 错误: 非法字符: '#'
 #include<stdio.h>
 ^
0_0_34664164_21249\Main.java:3: 错误: 非法字符: '#'
 #include<string.h>
 ^
0_0_34664164_21249\Main.java:7: 错误: 需要class, interface或enum
 const int N = 1000;
 ^
0_0_34664164_21249\Main.java:8: 错误: 需要class, interface或enum
 const int BASE = 10;
 ^
0_0_34664164_21249\Main.java:10: 错误: 需要class, interface或enum
 char a[N+1],b[N+1],ans[N+1];
 ^
0_0_34664164_21249\Main.java:13: 错误: 需要class, interface或enum
 int main(){
 ^
0_0_34664164_21249\Main.java:15: 错误: 需要class, interface或enum
  cin>>t;
  ^
0_0_34664164_21249\Main.java:16: 错误: 需要class, interface或enum
  for(k = 1;k <= t;k++){
  ^
0_0_34664164_21249\Main.java:16: 错误: 需要class, interface或enum
  for(k = 1;k <= t;k++){
            ^
0_0_34664164_21249\Main.java:16: 错误: 需要class, interface或enum
  for(k = 1;k <= t;k++){
                   ^
0_0_34664164_21249\Main.java:19: 错误: 需要class, interface或enum
   memset(ans,0,sizeof(ans));
   ^
0_0_34664164_21249\Main.java:21: 错误: 需要class, interface或enum
   anslen = len = strlen(a);
   ^
0_0_34664164_21249\Main.java:23: 错误: 需要class, interface或enum
   for(i = len - 1,j =0;i >= 0;i--)
   ^
0_0_34664164_21249\Main.java:23: 错误: 需要class, interface或enum
   for(i = len - 1,j =0;i >= 0;i--)
                        ^
0_0_34664164_21249\Main.java:23: 错误: 需要class, interface或enum
   for(i = len - 1,j =0;i >= 0;i--)
                               ^
0_0_34664164_21249\Main.java:26: 错误: 需要class, interface或enum
   len = strlen(b);
   ^
0_0_34664164_21249\Main.java:27: 错误: 需要class, interface或enum
   if(len > anslen)
   ^
0_0_34664164_21249\Main.java:30: 错误: 需要class, interface或enum
   carry = 0;
   ^
0_0_34664164_21249\Main.java:31: 错误: 需要class, interface或enum
   for(i = len-1,j=0;i >= 0;i--,j++){
   ^
0_0_34664164_21249\Main.java:31: 错误: 需要class, interface或enum
   for(i = len-1,j=0;i >= 0;i--,j++){
                     ^
0_0_34664164_21249\Main.java:31: 错误: 需要class, interface或enum
   for(i = len-1,j=0;i >= 0;i--,j++){
                            ^
0_0_34664164_21249\Main.java:33: 错误: 需要class, interface或enum
    carry = ans[j] / BASE;
    ^
0_0_34664164_21249\Main.java:34: 错误: 需要class, interface或enum
    ans[j] %= BASE;
    ^
0_0_34664164_21249\Main.java:35: 错误: 需要class, interface或enum
   }
   ^
0_0_34664164_21249\Main.java:39: 错误: 需要class, interface或enum
    carry = ans[j] / BASE;
    ^
0_0_34664164_21249\Main.java:40: 错误: 需要class, interface或enum
    ans[j++] %= BASE;
    ^
0_0_34664164_21249\Main.java:41: 错误: 需要class, interface或enum
   }
   ^
0_0_34664164_21249\Main.java:46: 错误: 需要class, interface或enum
   for(i = anslen -1;i >= 0;i--)
   ^
0_0_34664164_21249\Main.java:46: 错误: 需要class, interface或enum
   for(i = anslen -1;i >= 0;i--)
                     ^
0_0_34664164_21249\Main.java:46: 错误: 需要class, interface或enum
   for(i = anslen -1;i >= 0;i--)
                            ^
0_0_34664164_21249\Main.java:50: 错误: 需要class, interface或enum
   if(i < 0)
   ^
0_0_34664164_21249\Main.java:53: 错误: 需要class, interface或enum
   cout<<"Case "<<k<<":"<<endl;
   ^
0_0_34664164_21249\Main.java:54: 错误: 需要class, interface或enum
   for(j = 0;j < strlen(a);j++)
   ^
0_0_34664164_21249\Main.java:54: 错误: 需要class, interface或enum
   for(j = 0;j < strlen(a);j++)
             ^
0_0_34664164_21249\Main.java:54: 错误: 需要class, interface或enum
   for(j = 0;j < strlen(a);j++)
                           ^
0_0_34664164_21249\Main.java:56: 错误: 需要class, interface或enum
   cout<<" + ";
   ^
0_0_34664164_21249\Main.java:58: 错误: 需要class, interface或enum
   for(j = 0;j < strlen(b);j++)
   ^
0_0_34664164_21249\Main.java:58: 错误: 需要class, interface或enum
   for(j = 0;j < strlen(b);j++)
             ^
0_0_34664164_21249\Main.java:58: 错误: 需要class, interface或enum
   for(j = 0;j < strlen(b);j++)
                           ^
0_0_34664164_21249\Main.java:60: 错误: 需要class, interface或enum
   cout<<" = ";
   ^
0_0_34664164_21249\Main.java:61: 错误: 需要class, interface或enum
   for(;i>=0;i--)
   ^
0_0_34664164_21249\Main.java:61: 错误: 需要class, interface或enum
   for(;i>=0;i--)
        ^
0_0_34664164_21249\Main.java:61: 错误: 需要class, interface或enum
   for(;i>=0;i--)
             ^
0_0_34664164_21249\Main.java:63: 错误: 需要class, interface或enum
   cout<<endl; 
   ^
0_0_34664164_21249\Main.java:64: 错误: 需要class, interface或enum
   if(k != t) cout<<endl;
   ^
0_0_34664164_21249\Main.java:65: 错误: 需要class, interface或enum
  }
  ^
0_0_34664164_21249\Main.java:69: 错误: 需要class, interface或enum
 }
 ^
49 个错误


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-26 09:44:27, Gzip enabled