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_37383794_7181\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_37383794_7181\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_37383794_7181\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_37383794_7181\Main.java:3: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_37383794_7181\Main.java:4: 错误: 非法字符: '#'
#define N 1200
^
0_0_37383794_7181\Main.java:5: 错误: 非法字符: '#'
#define  MAX  3000
^
0_0_37383794_7181\Main.java:7: 错误: 需要class, interface或enum
int len[5],p;
^
0_0_37383794_7181\Main.java:8: 错误: 需要class, interface或enum
using namespace std;
^
0_0_37383794_7181\Main.java:9: 错误: 需要class, interface或enum
void  init()
^
0_0_37383794_7181\Main.java:12: 错误: 需要class, interface或enum
	for(i=0;i<=4;i++){
	^
0_0_37383794_7181\Main.java:12: 错误: 需要class, interface或enum
	for(i=0;i<=4;i++){
	        ^
0_0_37383794_7181\Main.java:12: 错误: 需要class, interface或enum
	for(i=0;i<=4;i++){
	             ^
0_0_37383794_7181\Main.java:13: 错误: 需要class, interface或enum
		for(j=0;j<MAX;j++){
		        ^
0_0_37383794_7181\Main.java:13: 错误: 需要class, interface或enum
		for(j=0;j<MAX;j++){
		              ^
0_0_37383794_7181\Main.java:15: 错误: 需要class, interface或enum
        }
        ^
0_0_37383794_7181\Main.java:17: 错误: 需要class, interface或enum
    }
    ^
0_0_37383794_7181\Main.java:22: 错误: 需要class, interface或enum
    char temp;
    ^
0_0_37383794_7181\Main.java:23: 错误: 需要class, interface或enum
    for(i=0;i<(n/2);i++)   {
    ^
0_0_37383794_7181\Main.java:23: 错误: 需要class, interface或enum
    for(i=0;i<(n/2);i++)   {
            ^
0_0_37383794_7181\Main.java:23: 错误: 需要class, interface或enum
    for(i=0;i<(n/2);i++)   {
                    ^
0_0_37383794_7181\Main.java:25: 错误: 需要class, interface或enum
        s[i]=s[n-i-1];
        ^
0_0_37383794_7181\Main.java:26: 错误: 需要class, interface或enum
        s[n-i-1]=temp;
        ^
0_0_37383794_7181\Main.java:27: 错误: 需要class, interface或enum
    }
    ^
0_0_37383794_7181\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_37383794_7181\Main.java:33: 错误: 需要class, interface或enum
    int i,t=0,j;
    ^
0_0_37383794_7181\Main.java:34: 错误: 需要class, interface或enum
    for(i=0;;i++){
    ^
0_0_37383794_7181\Main.java:34: 错误: 需要class, interface或enum
    for(i=0;;i++){
             ^
0_0_37383794_7181\Main.java:37: 错误: 需要class, interface或enum
        s[num][t++]=n[i];
        ^
0_0_37383794_7181\Main.java:38: 错误: 需要class, interface或enum
    }
    ^
0_0_37383794_7181\Main.java:40: 错误: 需要class, interface或enum
    turn(s[num],len[num]);
    ^
0_0_37383794_7181\Main.java:41: 错误: 需要class, interface或enum
    num++;
    ^
0_0_37383794_7181\Main.java:42: 错误: 需要class, interface或enum
    t=0;
    ^
0_0_37383794_7181\Main.java:43: 错误: 需要class, interface或enum
    for(j=i+1;j<h;j++)
    ^
0_0_37383794_7181\Main.java:43: 错误: 需要class, interface或enum
    for(j=i+1;j<h;j++)
              ^
0_0_37383794_7181\Main.java:43: 错误: 需要class, interface或enum
    for(j=i+1;j<h;j++)
                  ^
0_0_37383794_7181\Main.java:45: 错误: 需要class, interface或enum
    if(i!=h) 
    ^
0_0_37383794_7181\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_37383794_7181\Main.java:51: 错误: 需要class, interface或enum
    char t;
    ^
0_0_37383794_7181\Main.java:52: 错误: 需要class, interface或enum
    n1=n1>n2?n1:n2;
    ^
0_0_37383794_7181\Main.java:53: 错误: 需要class, interface或enum
    if(flag){
    ^
0_0_37383794_7181\Main.java:55: 错误: 需要class, interface或enum
        turn(s2,n1);
        ^
0_0_37383794_7181\Main.java:56: 错误: 需要class, interface或enum
    }
    ^
0_0_37383794_7181\Main.java:57: 错误: 需要class, interface或enum
    for(i=0;i<=n1;i++)
            ^
0_0_37383794_7181\Main.java:57: 错误: 需要class, interface或enum
    for(i=0;i<=n1;i++)
                  ^
0_0_37383794_7181\Main.java:60: 错误: 需要class, interface或enum
        s1[i]=((t-'0')+(s2[i]-'0')+carry)%10+'0';
        ^
0_0_37383794_7181\Main.java:61: 错误: 需要class, interface或enum
        carry=((t-'0')+(s2[i]-'0')+carry)/10;
        ^
0_0_37383794_7181\Main.java:62: 错误: 需要class, interface或enum
    }
    ^
0_0_37383794_7181\Main.java:65: 错误: 需要class, interface或enum
    if(flag&&(s1[n1]!='0'))
    ^
0_0_37383794_7181\Main.java:68: 错误: 需要class, interface或enum
    }
    ^
0_0_37383794_7181\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_37383794_7181\Main.java:73: 错误: 需要class, interface或enum
    while(cin>>m>>n)
    ^
0_0_37383794_7181\Main.java:76: 错误: 需要class, interface或enum
        p=0;
        ^
0_0_37383794_7181\Main.java:77: 错误: 需要class, interface或enum
        solve(m,1);
        ^
0_0_37383794_7181\Main.java:78: 错误: 需要class, interface或enum
        solve(n,3);
        ^
0_0_37383794_7181\Main.java:79: 错误: 需要class, interface或enum
        add(s[1],len[1],s[3],len[3],0);
        ^
0_0_37383794_7181\Main.java:80: 错误: 需要class, interface或enum
        add(s[2],len[2],s[4],len[4],1);
        ^
0_0_37383794_7181\Main.java:81: 错误: 需要class, interface或enum
        turn(s[2],len[2]);
        ^
0_0_37383794_7181\Main.java:82: 错误: 需要class, interface或enum
        for(i=len[2]-1;i>=0;i--)
        ^
0_0_37383794_7181\Main.java:82: 错误: 需要class, interface或enum
        for(i=len[2]-1;i>=0;i--)
                       ^
0_0_37383794_7181\Main.java:82: 错误: 需要class, interface或enum
        for(i=len[2]-1;i>=0;i--)
                            ^
0_0_37383794_7181\Main.java:86: 错误: 需要class, interface或enum
            else
            ^
0_0_37383794_7181\Main.java:88: 错误: 需要class, interface或enum
        }
        ^
0_0_37383794_7181\Main.java:90: 错误: 需要class, interface或enum
        if(p) 
        ^
0_0_37383794_7181\Main.java:93: 错误: 需要class, interface或enum
            len[0]=1;
            ^
0_0_37383794_7181\Main.java:94: 错误: 需要class, interface或enum
            add(s[1],len[1],s[0],len[0],0);
            ^
0_0_37383794_7181\Main.java:95: 错误: 需要class, interface或enum
        }
        ^
0_0_37383794_7181\Main.java:97: 错误: 需要class, interface或enum
        s[1][len[1]]='\0';
        ^
0_0_37383794_7181\Main.java:98: 错误: 需要class, interface或enum
        cout<<s[1];
        ^
0_0_37383794_7181\Main.java:99: 错误: 需要class, interface或enum
        if(len[2]!=0)
        ^
0_0_37383794_7181\Main.java:101: 错误: 需要class, interface或enum
        cout<<endl;
        ^
0_0_37383794_7181\Main.java:102: 错误: 需要class, interface或enum
    }
    ^
0_0_37383794_7181\Main.java:104: 错误: 需要class, interface或enum
}
^
72 个错误


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 06:31:12, Gzip enabled