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_33226871_6636\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
        ^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	          	^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	          	                                     	 		         		 			       			^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	          	                                     	 		         		 			       			         		^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	          	                                     	 		         		 			       			         		 		    		 			      			^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	          	                                     	 		         		 			       			         		 		    		 			      			       		^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	          	                                     	 		         		 			       			         		 		    		 			      			       		 		        			                  		^
0_0_33226871_6636\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>int main(){	int64 a,b,c;	char sign;	while(scanf("%I64X%I64X",&a,&b)!=EOF)	{		if(a+b<0)		{			c=-a-b;			sign='-';		}		else		{			c=a+b;			sign=0;		}		if(sign)			printf("%c",sign);		printf("%I64X\n",c);	}}
                            	            	          	                                     	 		         		 			       			         		 		    		 			      			       		 		        			                  		                    	^
10 个错误


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-29 17:36:44, Gzip enabled