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_37818892_6193\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_37818892_6193\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_37818892_6193\Main.java:7: 错误: 需要class, interface或enum
    }
    ^
0_0_37818892_6193\Main.java:11: 错误: 需要class, interface或enum
	}
	^
0_0_37818892_6193\Main.java:16: 错误: 需要class, interface或enum
	int ms[20] = {0,31,28,31,30,31,30,31,31,30,31,30,31,0};
	^
0_0_37818892_6193\Main.java:17: 错误: 需要class, interface或enum
     while (~scanf("%d%d%d",&y,&m,&d))
     ^
0_0_37818892_6193\Main.java:22: 错误: 需要class, interface或enum
		 }
		 ^
0_0_37818892_6193\Main.java:26: 错误: 需要class, interface或enum
		 for (int i=1;i<y;i++)
		 ^
0_0_37818892_6193\Main.java:26: 错误: 需要class, interface或enum
		 for (int i=1;i<y;i++)
		              ^
0_0_37818892_6193\Main.java:26: 错误: 需要class, interface或enum
		 for (int i=1;i<y;i++)
		                  ^
0_0_37818892_6193\Main.java:31: 错误: 需要class, interface或enum
              }
              ^
0_0_37818892_6193\Main.java:35: 错误: 需要class, interface或enum
			  }
			  ^
0_0_37818892_6193\Main.java:37: 错误: 需要class, interface或enum
		 }
		 ^
0_0_37818892_6193\Main.java:41: 错误: 需要class, interface或enum
		 }
		 ^
0_0_37818892_6193\Main.java:45: 错误: 需要class, interface或enum
		 }
		 ^
0_0_37818892_6193\Main.java:47: 错误: 需要class, interface或enum
		 for (int j=0;j<m;j++)
		              ^
0_0_37818892_6193\Main.java:47: 错误: 需要class, interface或enum
		 for (int j=0;j<m;j++)
		                  ^
0_0_37818892_6193\Main.java:50: 错误: 需要class, interface或enum
		 }
		 ^
0_0_37818892_6193\Main.java:53: 错误: 需要class, interface或enum
		 flag=sum%7;
		 ^
0_0_37818892_6193\Main.java:54: 错误: 需要class, interface或enum
		 switch (flag)
		 ^
0_0_37818892_6193\Main.java:56: 错误: 需要class, interface或enum
		 case 0: printf("Sunday\n");break;
		                            ^
0_0_37818892_6193\Main.java:57: 错误: 需要class, interface或enum
		 case 1: printf("Monday\n"); break;
		 ^
0_0_37818892_6193\Main.java:57: 错误: 需要class, interface或enum
		 case 1: printf("Monday\n"); break;
		                             ^
0_0_37818892_6193\Main.java:58: 错误: 需要class, interface或enum
		 case 2: printf("Tuesday\n");  break;
		 ^
0_0_37818892_6193\Main.java:58: 错误: 需要class, interface或enum
		 case 2: printf("Tuesday\n");  break;
		                               ^
0_0_37818892_6193\Main.java:59: 错误: 需要class, interface或enum
		 case 3: printf("Wednesday\n");break;
		 ^
0_0_37818892_6193\Main.java:59: 错误: 需要class, interface或enum
		 case 3: printf("Wednesday\n");break;
		                               ^
0_0_37818892_6193\Main.java:60: 错误: 需要class, interface或enum
		 case 4: printf("Thursday\n");break;
		 ^
0_0_37818892_6193\Main.java:60: 错误: 需要class, interface或enum
		 case 4: printf("Thursday\n");break;
		                              ^
0_0_37818892_6193\Main.java:61: 错误: 需要class, interface或enum
		 case 5:printf("Friday\n"); break;
		 ^
0_0_37818892_6193\Main.java:61: 错误: 需要class, interface或enum
		 case 5:printf("Friday\n"); break;
		                            ^
0_0_37818892_6193\Main.java:62: 错误: 需要class, interface或enum
		 case 6:printf("Saturday\n");break;
		 ^
0_0_37818892_6193\Main.java:62: 错误: 需要class, interface或enum
		 case 6:printf("Saturday\n");break;
		                             ^
0_0_37818892_6193\Main.java:63: 错误: 需要class, interface或enum
		 }
		 ^
34 个错误


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-12-02 07:05:22, Gzip enabled