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_13955256_1064\Main.java:6: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_13955256_1064\Main.java:6: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_13955256_1064\Main.java:7: 错误: 非法字符: '#'
#include <string>
^
0_0_13955256_1064\Main.java:8: 错误: 非法字符: '#'
#include <math.h>
^
0_0_13955256_1064\Main.java:9: 错误: 非法字符: '#'
#include <string.h>
^
0_0_13955256_1064\Main.java:10: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_13955256_1064\Main.java:11: 错误: 非法字符: '#'
#include <iostream>
^
0_0_13955256_1064\Main.java:12: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_13955256_1064\Main.java:14: 错误: 需要class, interface或enum
const int maxn=300;
^
0_0_13955256_1064\Main.java:15: 错误: 需要class, interface或enum
int n,ds[5005],d[5005],nmax,next[5005];
^
0_0_13955256_1064\Main.java:16: 错误: 需要class, interface或enum
struct bign{
^
0_0_13955256_1064\Main.java:18: 错误: 需要class, interface或enum
	bign(){memset(s,0,sizeof s);len=1;}
	^
0_0_13955256_1064\Main.java:18: 错误: 需要class, interface或enum
	bign(){memset(s,0,sizeof s);len=1;}
	                            ^
0_0_13955256_1064\Main.java:18: 错误: 需要class, interface或enum
	bign(){memset(s,0,sizeof s);len=1;}
	                                  ^
0_0_13955256_1064\Main.java:19: 错误: 需要class, interface或enum
	bign(int num){*this=num;}
	                        ^
0_0_13955256_1064\Main.java:20: 错误: 需要class, interface或enum
	bign(const char *num){*this=num;}
	                                ^
0_0_13955256_1064\Main.java:23: 错误: 需要class, interface或enum
		sprintf(s,"%d",num);
		^
0_0_13955256_1064\Main.java:24: 错误: 需要class, interface或enum
		*this=s;
		^
0_0_13955256_1064\Main.java:25: 错误: 需要class, interface或enum
		return *this;	
		^
0_0_13955256_1064\Main.java:26: 错误: 需要class, interface或enum
	}	
	^
0_0_13955256_1064\Main.java:29: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)s[i]=num[len-i-1]-'0';
		^
0_0_13955256_1064\Main.java:29: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)s[i]=num[len-i-1]-'0';
		            ^
0_0_13955256_1064\Main.java:29: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)s[i]=num[len-i-1]-'0';
		                  ^
0_0_13955256_1064\Main.java:30: 错误: 需要class, interface或enum
		return *this;	
		^
0_0_13955256_1064\Main.java:31: 错误: 需要class, interface或enum
	}
	^
0_0_13955256_1064\Main.java:34: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)res=(char)(s[i]+'0')+res;
		^
0_0_13955256_1064\Main.java:34: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)res=(char)(s[i]+'0')+res;
		            ^
0_0_13955256_1064\Main.java:34: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)res=(char)(s[i]+'0')+res;
		                  ^
0_0_13955256_1064\Main.java:35: 错误: 需要class, interface或enum
		if(res=="")res="0";
		^
0_0_13955256_1064\Main.java:36: 错误: 需要class, interface或enum
		return res;	
		^
0_0_13955256_1064\Main.java:37: 错误: 需要class, interface或enum
	}
	^
0_0_13955256_1064\Main.java:40: 错误: 需要class, interface或enum
		c.len=0;
		^
0_0_13955256_1064\Main.java:41: 错误: 需要class, interface或enum
		for(int i=0,g=0;g||i<max(len,b.len);i++){
		^
0_0_13955256_1064\Main.java:41: 错误: 需要class, interface或enum
		for(int i=0,g=0;g||i<max(len,b.len);i++){
		                ^
0_0_13955256_1064\Main.java:41: 错误: 需要class, interface或enum
		for(int i=0,g=0;g||i<max(len,b.len);i++){
		                                    ^
0_0_13955256_1064\Main.java:43: 错误: 需要class, interface或enum
			if(i<len)x+=s[i];
			^
0_0_13955256_1064\Main.java:44: 错误: 需要class, interface或enum
			if(i<b.len)x+=b.s[i];
			^
0_0_13955256_1064\Main.java:45: 错误: 需要class, interface或enum
			c.s[c.len++]=x%10;
			^
0_0_13955256_1064\Main.java:46: 错误: 需要class, interface或enum
			g=x/10; 
			^
0_0_13955256_1064\Main.java:47: 错误: 需要class, interface或enum
		}	
		^
0_0_13955256_1064\Main.java:49: 错误: 需要class, interface或enum
	}
	^
0_0_13955256_1064\Main.java:51: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++){
		            ^
0_0_13955256_1064\Main.java:51: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++){
		                  ^
0_0_13955256_1064\Main.java:53: 错误: 需要class, interface或enum
		}	
		^
0_0_13955256_1064\Main.java:55: 错误: 需要class, interface或enum
	}
	^
0_0_13955256_1064\Main.java:57: 错误: 需要class, interface或enum
void dp(){
^
0_0_13955256_1064\Main.java:59: 错误: 需要class, interface或enum
 	for(int i=1;i<=n;i++){
 	            ^
0_0_13955256_1064\Main.java:59: 错误: 需要class, interface或enum
 	for(int i=1;i<=n;i++){
 	                 ^
0_0_13955256_1064\Main.java:60: 错误: 需要class, interface或enum
		for(int j=i+1;j<=n;j++){
		              ^
0_0_13955256_1064\Main.java:60: 错误: 需要class, interface或enum
		for(int j=i+1;j<=n;j++){
		                   ^
0_0_13955256_1064\Main.java:63: 错误: 需要class, interface或enum
				break;
				^
0_0_13955256_1064\Main.java:64: 错误: 需要class, interface或enum
			}	
			^
0_0_13955256_1064\Main.java:68: 错误: 需要class, interface或enum
	ds[0]=d[0]=0,d2[0]=1,ds[0]=1e9;
	^
0_0_13955256_1064\Main.java:69: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++){
	^
0_0_13955256_1064\Main.java:69: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++){
	            ^
0_0_13955256_1064\Main.java:69: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++){
	                 ^
0_0_13955256_1064\Main.java:71: 错误: 需要class, interface或enum
		for(int j=i-1;j>=0;j--){
		^
0_0_13955256_1064\Main.java:71: 错误: 需要class, interface或enum
		for(int j=i-1;j>=0;j--){
		              ^
0_0_13955256_1064\Main.java:71: 错误: 需要class, interface或enum
		for(int j=i-1;j>=0;j--){
		                   ^
0_0_13955256_1064\Main.java:73: 错误: 需要class, interface或enum
		}	
		^
0_0_13955256_1064\Main.java:75: 错误: 需要class, interface或enum
		if(d[i]>nmax)nmax=d[i];
		^
0_0_13955256_1064\Main.java:81: 错误: 需要class, interface或enum
		for(int j=0;j<i;j++){
		^
0_0_13955256_1064\Main.java:81: 错误: 需要class, interface或enum
		for(int j=0;j<i;j++){
		            ^
0_0_13955256_1064\Main.java:81: 错误: 需要class, interface或enum
		for(int j=0;j<i;j++){
		                ^
0_0_13955256_1064\Main.java:84: 错误: 需要class, interface或enum
			}	
			^
0_0_13955256_1064\Main.java:90: 错误: 需要class, interface或enum
    freopen("buylow.out","w",stdout);
    ^
0_0_13955256_1064\Main.java:91: 错误: 需要class, interface或enum
    memset(d,0,sizeof d);
    ^
0_0_13955256_1064\Main.java:92: 错误: 需要class, interface或enum
    memset(d2,0,sizeof d2);
    ^
0_0_13955256_1064\Main.java:93: 错误: 需要class, interface或enum
    memset(next,0,sizeof next);
    ^
0_0_13955256_1064\Main.java:95: 错误: 需要class, interface或enum
	scanf("%d",&n);
	^
0_0_13955256_1064\Main.java:96: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++)scanf("%d",&ds[i]);
	^
0_0_13955256_1064\Main.java:96: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++)scanf("%d",&ds[i]);
	            ^
0_0_13955256_1064\Main.java:96: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++)scanf("%d",&ds[i]);
	                 ^
0_0_13955256_1064\Main.java:97: 错误: 需要class, interface或enum
	dp();
	^
0_0_13955256_1064\Main.java:98: 错误: 需要class, interface或enum
	bign res=0;
	^
0_0_13955256_1064\Main.java:99: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++){
	^
0_0_13955256_1064\Main.java:99: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++){
	            ^
0_0_13955256_1064\Main.java:99: 错误: 需要class, interface或enum
	for(int i=1;i<=n;i++){
	                 ^
0_0_13955256_1064\Main.java:101: 错误: 需要class, interface或enum
	}
	^
0_0_13955256_1064\Main.java:109: 错误: 需要class, interface或enum
	for(int i=res.len-1;i>=0;i--)printf("%c",res.s[i]+'0');
	^
0_0_13955256_1064\Main.java:109: 错误: 需要class, interface或enum
	for(int i=res.len-1;i>=0;i--)printf("%c",res.s[i]+'0');
	                    ^
0_0_13955256_1064\Main.java:109: 错误: 需要class, interface或enum
	for(int i=res.len-1;i>=0;i--)printf("%c",res.s[i]+'0');
	                         ^
0_0_13955256_1064\Main.java:110: 错误: 需要class, interface或enum
	printf("\n");
	^
0_0_13955256_1064\Main.java:113: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_13955256_1064\Main.java:114: 错误: 需要class, interface或enum
}
^
85 个错误


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-23 07:24:36, Gzip enabled