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_22141142_19251\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_22141142_19251\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_22141142_19251\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22141142_19251\Main.java:3: 错误: 非法字符: '#'
#include<math.h>
^
0_0_22141142_19251\Main.java:5: 错误: 需要class, interface或enum
int gety(string s)
^
0_0_22141142_19251\Main.java:14: 错误: 需要class, interface或enum
				case 6:
				^
0_0_22141142_19251\Main.java:16: 错误: 需要class, interface或enum
				case 7:
				^
0_0_22141142_19251\Main.java:18: 错误: 需要class, interface或enum
			}
			^
0_0_22141142_19251\Main.java:21: 错误: 需要class, interface或enum
		case 't':
		^
0_0_22141142_19251\Main.java:23: 错误: 需要class, interface或enum
		case 'd':
		^
0_0_22141142_19251\Main.java:28: 错误: 需要class, interface或enum
				case 3:
				^
0_0_22141142_19251\Main.java:30: 错误: 需要class, interface或enum
			}
			^
0_0_22141142_19251\Main.java:36: 错误: 需要class, interface或enum
				case 'h':
				^
0_0_22141142_19251\Main.java:38: 错误: 需要class, interface或enum
			}
			^
0_0_22141142_19251\Main.java:41: 错误: 需要class, interface或enum
		case 'm':
		^
0_0_22141142_19251\Main.java:43: 错误: 需要class, interface或enum
		case 'p':
		^
0_0_22141142_19251\Main.java:46: 错误: 需要class, interface或enum
	}
	^
0_0_22141142_19251\Main.java:52: 错误: 需要class, interface或enum
	int n,aa,bb,ans;
	^
0_0_22141142_19251\Main.java:53: 错误: 需要class, interface或enum
	cin>>n;
	^
0_0_22141142_19251\Main.java:54: 错误: 需要class, interface或enum
	while(n--)
	^
0_0_22141142_19251\Main.java:57: 错误: 需要class, interface或enum
		cin>>b;
		^
0_0_22141142_19251\Main.java:58: 错误: 需要class, interface或enum
		aa=gety(a);
		^
0_0_22141142_19251\Main.java:59: 错误: 需要class, interface或enum
		bb=gety(b);
		^
0_0_22141142_19251\Main.java:60: 错误: 需要class, interface或enum
		ans=bb-aa;
		^
0_0_22141142_19251\Main.java:61: 错误: 需要class, interface或enum
		if(ans<0) ans+=12;
		^
0_0_22141142_19251\Main.java:62: 错误: 需要class, interface或enum
		if(ans==0) ans=12;
		^
0_0_22141142_19251\Main.java:63: 错误: 需要class, interface或enum
		cout<<ans<<endl;
		^
0_0_22141142_19251\Main.java:64: 错误: 需要class, interface或enum
	}
	^
0_0_22141142_19251\Main.java:66: 错误: 需要class, interface或enum
 } 
 ^
29 个错误


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-16 16:37:32, Gzip enabled