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_6982269_22488\Main.java:4: 需要为 class、interface 或 enum
public Main {
       ^
0_0_6982269_22488\Main.java:6: 需要为 class、interface 或 enum
	public Main() {
	       ^
0_0_6982269_22488\Main.java:13: 需要为 class、interface 或 enum
	public static void main(String[] args) {
	              ^
0_0_6982269_22488\Main.java:16: 需要为 class、interface 或 enum
		int numero_fechas=0, x=0, mes=0, dia=0, dias_faltan=0;
		^
0_0_6982269_22488\Main.java:17: 需要为 class、interface 或 enum
		numero_fechas=cin.nextInt();
		^
0_0_6982269_22488\Main.java:18: 需要为 class、interface 或 enum
		for (x=1; x<=numero_fechas;x++)
		^
0_0_6982269_22488\Main.java:18: 需要为 class、interface 或 enum
		for (x=1; x<=numero_fechas;x++)
		          ^
0_0_6982269_22488\Main.java:18: 需要为 class、interface 或 enum
		for (x=1; x<=numero_fechas;x++)
		                           ^
0_0_6982269_22488\Main.java:21: 需要为 class、interface 或 enum
			mes=cin.nextInt();
			^
0_0_6982269_22488\Main.java:22: 需要为 class、interface 或 enum
			dia=cin.nextInt();
			^
0_0_6982269_22488\Main.java:23: 需要为 class、interface 或 enum
			if (mes==11 || mes==12)System.out.println("What a pity, it has passed!");
			^
0_0_6982269_22488\Main.java:24: 需要为 class、interface 或 enum
			else if (mes==10 && dia>=22) System.out.println("What a pity, it has passed!");
			^
0_0_6982269_22488\Main.java:25: 需要为 class、interface 或 enum
			else if (mes==10 && dia>=22) System.out.println("It's today!!");
			^
0_0_6982269_22488\Main.java:26: 需要为 class、interface 或 enum
			else if (mes==10)dias_faltan=21-dia;
			^
0_0_6982269_22488\Main.java:27: 需要为 class、interface 或 enum
			else if (mes==9) dias_faltan=30-dia+21;
			^
0_0_6982269_22488\Main.java:28: 需要为 class、interface 或 enum
			else if (mes==8) dias_faltan=31-dia+30+21;
			^
0_0_6982269_22488\Main.java:29: 需要为 class、interface 或 enum
		    else if (mes==7) dias_faltan=31-dia+30+21+31;
		    ^
0_0_6982269_22488\Main.java:30: 需要为 class、interface 或 enum
		    else if (mes==6) dias_faltan=30-dia+30+21+31+31;
		    ^
0_0_6982269_22488\Main.java:31: 需要为 class、interface 或 enum
		    else if (mes==5) dias_faltan=31-dia+30+21+31+31+30;
		    ^
0_0_6982269_22488\Main.java:32: 需要为 class、interface 或 enum
		    else if (mes==4) dias_faltan=30-dia+30+21+31+31+30+31;
		    ^
0_0_6982269_22488\Main.java:33: 需要为 class、interface 或 enum
		    else if (mes==3) dias_faltan=31-dia+30+21+31+31+30+31+30;
		    ^
0_0_6982269_22488\Main.java:34: 需要为 class、interface 或 enum
		    else if (mes==2) dias_faltan=28-dia+30+21+31+31+30+31+30+31;
		    ^
0_0_6982269_22488\Main.java:35: 需要为 class、interface 或 enum
		    else	         dias_faltan=28-dia+30+21+31+31+30+31+30+31+28;
		    ^
0_0_6982269_22488\Main.java:36: 需要为 class、interface 或 enum
			if(dias_faltan>0)System.out.println(dias_faltan);
			^
0_0_6982269_22488\Main.java:37: 需要为 class、interface 或 enum
		}
		^
25 错误


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-17 04:17:57, Gzip enabled